#include <dune/grid/spgrid/cube.hh >
static This unitCube ()
obtain a domain modelling the unit cube
static const int dimension = dim
dimension of the domain
◆ ctype
template<class ct , int dim>
◆ GlobalVector
template<class ct , int dim>
type of global vectors, i.e., vectors within the domain
◆ SPCube() [1/2]
template<class ct , int dim>
◆ SPCube() [2/2]
template<class ct , int dim>
constructor
Parameters
[in] a one corner of the cube
[in] b the opposite corner of the cube
Note The only restriction on the given corners is that they are opposite to each other. It is not guaranteed, that one of the corners will be returned by the method origin.
◆ contains()
template<class ct , int dim>
determine whether the cube contains a point x
Parameters
Returns true, if x is contained in the cube
◆ origin()
template<class ct , int dim>
obtain lower left corner
Returns a reference to the origin of the cube
◆ unitCube()
template<class ct , int dim>
obtain a domain modelling the unit cube
Returns a domain modelling
◆ width()
template<class ct , int dim>
obtain width
Returns a reference to the width of the cube
◆ dimension
template<class ct , int dim>
The documentation for this class was generated from the following file: