3 #ifndef DUNE_IDENTITY_GRID_ENTITY_SEED_HH
4 #define DUNE_IDENTITY_GRID_ENTITY_SEED_HH
20 template<
int codim,
class Gr
idImp>
26 typedef typename GridImp::HostGridType::Traits::template Codim<codim>::Entity
HostEntity;
29 typedef typename GridImp::HostGridType::Traits::template Codim<codim>::EntitySeed
HostEntitySeed;
48 hostEntitySeed_(hostEntity.seed())
56 return hostEntitySeed_;
64 return hostEntitySeed_.isValid();
73 #endif // #define DUNE_IDENTITY_GRID_ENTITY_SEED_HH
const HostEntitySeed & hostEntitySeed() const
Get stored HostEntitySeed.
Definition: identitygridentityseed.hh:54
The EntitySeed class provides the minimal information needed to restore an Entity using the grid...
Definition: identitygridentityseed.hh:21
GridImp::HostGridType::Traits::template Codim< codim >::EntitySeed HostEntitySeed
Definition: identitygridentityseed.hh:29
GridImp::HostGridType::Traits::template Codim< codim >::Entity HostEntity
Definition: identitygridentityseed.hh:26
IdentityGridEntitySeed(const HostEntity &hostEntity)
Create EntitySeed from hostgrid Entity.
Definition: identitygridentityseed.hh:47
Definition: identitygridentityseed.hh:33
bool isValid() const
Check whether it is safe to create an Entity from this Seed.
Definition: identitygridentityseed.hh:62
IdentityGridEntitySeed()
Construct an empty (i.e. isValid() == false) seed.
Definition: identitygridentityseed.hh:38