Dune Core Modules (unstable)

Dune::IdentityGridEntitySeed< codim, GridImp > Class Template Reference

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.
 
 IdentityGridEntitySeed (const HostEntity &hostEntity)
 Create EntitySeed from hostgrid Entity. More...
 
const HostEntitySeed & hostEntitySeed () const
 Get stored HostEntitySeed.
 
bool isValid () const
 Check whether it is safe to create an Entity from this Seed.
 

Detailed Description

template<int codim, class GridImp>
class Dune::IdentityGridEntitySeed< codim, GridImp >

The EntitySeed class provides the minimal information needed to restore an Entity using the grid.

Constructor & Destructor Documentation

◆ IdentityGridEntitySeed()

template<int codim, class GridImp >
Dune::IdentityGridEntitySeed< codim, GridImp >::IdentityGridEntitySeed ( const HostEntity &  hostEntity)
inline

Create EntitySeed from hostgrid Entity.

We call hostEntity.seed() directly in the constructor of IdentityGridEntitySeed to allow for return value optimization.


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 21, 23:30, 2024)