dune-spgrid
2.7
|
entity seed for SPGrid More...
#include <dune/grid/spgrid/entityseed.hh>
Public Types | |
typedef std::remove_const< Grd >::type | Grid |
type of grid this entity seed belongs to More... | |
typedef Grid::Traits::ReferenceCube | ReferenceCube |
typedef Grid::Traits::template Codim< codimension >::Entity | Entity |
type of the seeded entity More... | |
typedef ReferenceCube::MultiIndex | MultiIndex |
Public Member Functions | |
SPEntitySeed () | |
default constructor More... | |
SPEntitySeed (const int level, const MultiIndex &id, const unsigned int partitionNumber) | |
bool | isValid () const |
check whether this seed generates a valid entity More... | |
int | level () const |
MultiIndex | id () const |
unsigned int | partitionNumber () const |
Static Public Attributes | |
static const int | dimension = ReferenceCube::dimension |
dimension of the grid More... | |
static const int | codimension = codim |
codimension of the seeded entity More... | |
static const int | mydimension = dimension - codimension |
dimension of the seeded entity More... | |
static const int | dimensionworld = dimension |
world dimension of the grid More... | |
entity seed for SPGrid
The entity seed contains the minimal information required to rebuild the entity, if the grid is still known. It should be preferred over the entity pointer when storing entities.
codim | codimension of the seeded entity |
Grd | Grid (must be a SPGrid) |
typedef Grid::Traits::template Codim< codimension >::Entity Dune::SPEntitySeed< codim, Grd >::Entity |
type of the seeded entity
typedef std::remove_const< Grd >::type Dune::SPEntitySeed< codim, Grd >::Grid |
type of grid this entity seed belongs to
typedef ReferenceCube::MultiIndex Dune::SPEntitySeed< codim, Grd >::MultiIndex |
typedef Grid::Traits::ReferenceCube Dune::SPEntitySeed< codim, Grd >::ReferenceCube |
|
inline |
default constructor
|
inline |
|
inline |
|
inline |
check whether this seed generates a valid entity
|
inline |
|
inline |
|
static |
codimension of the seeded entity
|
static |
dimension of the grid
|
static |
world dimension of the grid
|
static |
dimension of the seeded entity