dune-spgrid 2.8.0
|
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 | |
typedef Grid::Traits::ReferenceCube | ReferenceCube |
typedef Grid::Traits::template Codim< codimension >::Entity | Entity |
type of the seeded entity | |
typedef ReferenceCube::MultiIndex | MultiIndex |
Public Member Functions | |
SPEntitySeed () | |
default constructor | |
SPEntitySeed (const int level, const MultiIndex &id, const unsigned int partitionNumber) | |
bool | isValid () const |
check whether this seed generates a valid entity | |
int | level () const |
MultiIndex | id () const |
unsigned int | partitionNumber () const |
Static Public Attributes | |
static const int | dimension = ReferenceCube::dimension |
dimension of the grid | |
static const int | codimension = codim |
codimension of the seeded entity | |
static const int | mydimension = dimension - codimension |
dimension of the seeded entity | |
static const int | dimensionworld = dimension |
world dimension of the grid | |
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