3 #ifndef DUNE_GRID_ENTITY_SEED_HH
4 #define DUNE_GRID_ENTITY_SEED_HH
22 template<
class Gr
idImp,
class EntitySeedImp>
39 : implementation_(implementation)
45 return implementation_.isValid();
48 #if DUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS
54 GridImp::dimension, GridImp::dimensionworld,
55 typename GridImp::ctype,
56 typename GridImp::GridFamily> ;
62 return implementation_;
65 const Implementation&
impl()
const
67 return implementation_;
72 EntitySeedImp implementation_;
Definition: common/geometry.hh:24
Definition: common/entityseed.hh:28
Include standard header files.
Definition: agrid.hh:59
bool isValid() const
check whether it is safe to create an Entity from this Seed
Definition: common/entityseed.hh:43
EntitySeedImp Implementation
Export the implementation type.
Definition: common/entityseed.hh:31
Implementation & impl()
Access to the actual implementation.
Definition: common/entityseed.hh:60
Different resources needed by all grid implementations.
EntitySeed()
Construct an empty (i.e. isValid() == false) seed.
Definition: common/entityseed.hh:34
EntitySeed(const EntitySeedImp &implementation)
Construct from implementation class.
Definition: common/entityseed.hh:38
const Implementation & impl() const
const Access to the actual implementation
Definition: common/entityseed.hh:65
Store a reference to an entity with a minimal memory footprint.
Definition: common/entityseed.hh:23