dune-grid 2.9.0
|
The EntitySeed class provides the minimal information needed to restore an Entity using the grid. More...
#include <dune/grid/identitygrid/identitygridentityseed.hh>
Public Member Functions | |
IdentityGridEntitySeed () | |
Construct an empty (i.e. isValid() == false) seed. More... | |
IdentityGridEntitySeed (const HostEntity &hostEntity) | |
Create EntitySeed from hostgrid Entity. More... | |
const HostEntitySeed & | hostEntitySeed () const |
Get stored HostEntitySeed. More... | |
bool | isValid () const |
Check whether it is safe to create an Entity from this Seed. More... | |
Static Public Attributes | |
static constexpr int | codimension = codim |
Protected Types | |
typedef GridImp::HostGridType::Traits::template Codim< codim >::Entity | HostEntity |
typedef GridImp::HostGridType::Traits::template Codim< codim >::EntitySeed | HostEntitySeed |
The EntitySeed class provides the minimal information needed to restore an Entity using the grid.
|
protected |
|
protected |
|
inline |
Construct an empty (i.e. isValid() == false) seed.
|
inline |
Create EntitySeed from hostgrid Entity.
We call hostEntity.seed() directly in the constructor of IdentityGridEntitySeed to allow for return value optimization.
|
inline |
Get stored HostEntitySeed.
|
inline |
Check whether it is safe to create an Entity from this Seed.
|
staticconstexpr |