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_;
Include standard header files.
Definition: agrid.hh:60
Store a reference to an entity with a minimal memory footprint.
Definition: common/entityseed.hh:26
Implementation & impl()
access to the underlying implementation
Definition: common/entityseed.hh:59
EntitySeedImp Implementation
type of underlying implementation
Definition: common/entityseed.hh:37
EntitySeed(const EntitySeedImp &implementation)
Construct from implementation class.
Definition: common/entityseed.hh:44
static constexpr int codimension
codimension of underlying entity
Definition: common/entityseed.hh:30
EntitySeed()
Construct an empty (i.e. isValid() == false) seed.
Definition: common/entityseed.hh:40
const Implementation & impl() const
access to the underlying implementation
Definition: common/entityseed.hh:66
bool isValid() const
check whether it is safe to create an Entity from this Seed
Definition: common/entityseed.hh:49
Different resources needed by all grid implementations.