Dune Core Modules (2.9.0)
•All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
entityseed.hh
Go to the documentation of this file.
Traits for type conversions and type information.
static const int dimension
dimension of the grid
Definition: entityseed.hh:40
bool isValid() const
check whether this seed generates a valid entity
Definition: entityseed.hh:75
ReferenceCube::MultiIndex MultiIndex
type of multi index
Definition: entityseed.hh:52
std::remove_const< Grd >::type Grid
type of grid this entity seed belongs to
Definition: entityseed.hh:34
Grid::Traits::ReferenceCube ReferenceCube
type of reference cube
Definition: entityseed.hh:37
MultiIndex id() const
obtain the multi index of the seeded entity
Definition: entityseed.hh:93
static const int dimensionworld
world dimension of the grid
Definition: entityseed.hh:46
static const int mydimension
dimension of the seeded entity
Definition: entityseed.hh:44
SPEntitySeed(const int level, const MultiIndex &id, const unsigned int partitionNumber)
constructor
Definition: entityseed.hh:70
Grid::Traits::template Codim< codimension >::Entity Entity
type of the seeded entity
Definition: entityseed.hh:49
static const int codimension
codimension of the seeded entity
Definition: entityseed.hh:42
unsigned int partitionNumber() const
obtain number of the partition, the seeded entity belongs to
Definition: entityseed.hh:104
int level() const
obtain level of the seeded entity
Definition: entityseed.hh:82
