1 #ifndef DUNE_SPGRID_DOMAIN_HH
2 #define DUNE_SPGRID_DOMAIN_HH
25 template<
class ct,
int dim >
88 template<
class ct,
int dim >
96 template<
class ct,
int dim >
99 : cube_( cubes[ 0 ] ),
100 topology_( topology )
104 template<
class ct,
int dim >
109 for(
int i = 0; i < dimension; ++i )
topology of a Cartesian grid
Definition: iostream.hh:7
bool contains(const GlobalVector &x) const
determine whether the cube contains a point x
Definition: cube.hh:116
ct ctype
coordinate type
Definition: cube.hh:21
FieldVector< ctype, dimension > GlobalVector
type of global vectors, i.e., vectors within the domain
Definition: cube.hh:27
static const int dimension
dimension of the domain
Definition: cube.hh:24
description of the computational domain
Definition: domain.hh:27
static This unitCube()
obtain a domain modelling the unit cube
Definition: domain.hh:106
const Topology & topology() const
Definition: domain.hh:62
static const int dimension
dimension of the domain
Definition: domain.hh:38
Cube::GlobalVector GlobalVector
type of global vectors, i.e., vectors within the domain
Definition: domain.hh:41
Cube::ctype ctype
coordinate type
Definition: domain.hh:35
SPTopology< dim > Topology
Definition: domain.hh:32
SPDomain(const GlobalVector &a, const GlobalVector &b)
constructor
Definition: domain.hh:90
bool contains(const GlobalVector &x) const
determine whether the domain contains a point x
Definition: domain.hh:70
const Cube & cube() const
Definition: domain.hh:59
SPCube< ct, dim > Cube
Definition: domain.hh:31
description of the grid's topology
Definition: topology.hh:31