5 #ifndef DUNE_IDENTITY_GRID_ENTITY_SEED_HH 6 #define DUNE_IDENTITY_GRID_ENTITY_SEED_HH 22 template<
int codim,
class Gr
idImp>
50 hostEntitySeed_(hostEntity.seed())
58 return hostEntitySeed_;
66 return hostEntitySeed_.isValid();
75 #endif // #define DUNE_IDENTITY_GRID_ENTITY_SEED_HH concept Entity
Model of a grid entity.
Definition: concepts/entity.hh:119
IdentityGridEntitySeed(const HostEntity &hostEntity)
Create EntitySeed from hostgrid Entity.
Definition: identitygridentityseed.hh:49
GridImp::HostGridType::Traits::template Codim< codim >::EntitySeed HostEntitySeed
Definition: identitygridentityseed.hh:31
static constexpr int codimension
Definition: identitygridentityseed.hh:35
const HostEntitySeed & hostEntitySeed() const
Get stored HostEntitySeed.
Definition: identitygridentityseed.hh:56
GridImp::HostGridType::Traits::template Codim< codim >::Entity HostEntity
Definition: identitygridentityseed.hh:28
Include standard header files.
Definition: agrid.hh:59
The EntitySeed class provides the minimal information needed to restore an Entity using the grid...
Definition: identitygridentityseed.hh:23
bool isValid() const
Check whether it is safe to create an Entity from this Seed.
Definition: identitygridentityseed.hh:64
concept EntitySeed
Model of an entity seed.
Definition: concepts/entity.hh:25
IdentityGridEntitySeed()
Construct an empty (i.e. isValid() == false) seed.
Definition: identitygridentityseed.hh:40