|
dune-grid 2.12-git
|
Store a reference to an entity with a minimal memory footprint. More...
#include <dune/grid/common/entityseed.hh>
Public Types | |
| typedef EntitySeedImp | Implementation |
| type of underlying implementation | |
Public Member Functions | |
| EntitySeed () | |
| Construct an empty (i.e. isValid() == false) seed. | |
| EntitySeed (const EntitySeedImp &implementation) | |
| Construct from implementation class. | |
| bool | isValid () const |
| check whether it is safe to create an Entity from this Seed | |
| Implementation & | impl () |
| access to the underlying implementation | |
| const Implementation & | impl () const |
| access to the underlying implementation | |
Static Public Attributes | |
| static constexpr int | codimension = EntitySeedImp::codimension |
| codimension of underlying entity | |
Detailed Description
class Dune::EntitySeed< GridImp, EntitySeedImp >
Store a reference to an entity with a minimal memory footprint.
The EntitySeed provides a light-weight way to store an entity. It is supposed to be implemented as memory-efficiently as possible. To get back the actual entity, you need the corresponding grid. On the grid, there is the method entity(const EntitySeed&), which gives you an Entity in exchange for an EntitySeed.
Member Typedef Documentation
◆ Implementation
| typedef EntitySeedImp Dune::EntitySeed< GridImp, EntitySeedImp >::Implementation |
type of underlying implementation
- Warning
- Implementation details may change without prior notification.
Constructor & Destructor Documentation
◆ EntitySeed() [1/2]
|
inline |
Construct an empty (i.e. isValid() == false) seed.
◆ EntitySeed() [2/2]
|
inline |
Construct from implementation class.
Member Function Documentation
◆ impl() [1/2]
|
inline |
access to the underlying implementation
- Warning
- Implementation details may change without prior notification.
◆ impl() [2/2]
|
inline |
access to the underlying implementation
- Warning
- Implementation details may change without prior notification.
◆ isValid()
|
inline |
check whether it is safe to create an Entity from this Seed
Member Data Documentation
◆ codimension
|
staticconstexpr |
codimension of underlying entity
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8