5 #ifndef DUNE_GRID_COMMON_ENTITY_SEED_HH 6 #define DUNE_GRID_COMMON_ENTITY_SEED_HH 24 template<
class Gr
idImp,
class EntitySeedImp>
30 constexpr
static int codimension = EntitySeedImp::codimension;
45 : implementation_(implementation)
51 return implementation_.isValid();
70 EntitySeedImp implementation_;
Store a reference to an entity with a minimal memory footprint.
Definition: common/entityseed.hh:25
const Implementation & impl() const
access to the underlying implementation
Definition: common/entityseed.hh:66
EntitySeed()
Construct an empty (i.e. isValid() == false) seed.
Definition: common/entityseed.hh:40
Different resources needed by all grid implementations.
EntitySeedImp Implementation
type of underlying implementation
Definition: common/entityseed.hh:37
Include standard header files.
Definition: agrid.hh:59
static constexpr int codimension
codimension of underlying entity
Definition: common/entityseed.hh:30
EntitySeed(const EntitySeedImp &implementation)
Construct from implementation class.
Definition: common/entityseed.hh:44
bool isValid() const
check whether it is safe to create an Entity from this Seed
Definition: common/entityseed.hh:49
Implementation & impl()
access to the underlying implementation
Definition: common/entityseed.hh:59