dune-mmesh 1.4.1-git
Loading...
Searching...
No Matches
Dune::MMeshEntitySeed< codim, GridImp > Class Template Reference

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

#include <dune/mmesh/grid/entityseed.hh>

Public Types

enum  { codimension = codim }
 

Public Member Functions

 MMeshEntitySeed ()
 Construct empty seed.
 
 MMeshEntitySeed (const HostGridEntity &hostEntity)
 Construct a seed from a host entity.
 
MMeshEntitySeedoperator= (const MMeshEntitySeed< codim, GridImp > &seed)
 Construct a seed from another seed.
 
template<int cd = codim>
std::enable_if_t< cd !=2||GridImp::dimension !=3, boolisValid () const
 Check whether it is safe to create an Entity from this Seed.
 
template<int cd = codim>
std::enable_if_t< cd==2 &&GridImp::dimension==3, boolisValid () const
 Special handling for codim 2 entities in 3d.
 
const HostGridEntityhostEntity () const
 Return host entity.
 

Protected Types

typedef GridImp::template HostGridEntity< codim > HostGridEntity
 

Detailed Description

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

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

Member Typedef Documentation

◆ HostGridEntity

template<int codim, class GridImp >
typedef GridImp::template HostGridEntity<codim> Dune::MMeshEntitySeed< codim, GridImp >::HostGridEntity
protected

Member Enumeration Documentation

◆ anonymous enum

template<int codim, class GridImp >
anonymous enum
Enumerator
codimension 

Constructor & Destructor Documentation

◆ MMeshEntitySeed() [1/2]

template<int codim, class GridImp >
Dune::MMeshEntitySeed< codim, GridImp >::MMeshEntitySeed ( )
inline

Construct empty seed.

◆ MMeshEntitySeed() [2/2]

template<int codim, class GridImp >
Dune::MMeshEntitySeed< codim, GridImp >::MMeshEntitySeed ( const HostGridEntity hostEntity)
inline

Construct a seed from a host entity.

Member Function Documentation

◆ hostEntity()

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

Return host entity.

◆ isValid() [1/2]

template<int codim, class GridImp >
template<int cd = codim>
std::enable_if_t< cd !=2||GridImp::dimension !=3, bool > Dune::MMeshEntitySeed< codim, GridImp >::isValid ( ) const
inline

Check whether it is safe to create an Entity from this Seed.

◆ isValid() [2/2]

template<int codim, class GridImp >
template<int cd = codim>
std::enable_if_t< cd==2 &&GridImp::dimension==3, bool > Dune::MMeshEntitySeed< codim, GridImp >::isValid ( ) const
inline

Special handling for codim 2 entities in 3d.

◆ operator=()

template<int codim, class GridImp >
MMeshEntitySeed & Dune::MMeshEntitySeed< codim, GridImp >::operator= ( const MMeshEntitySeed< codim, GridImp > &  seed)
inline

Construct a seed from another seed.


The documentation for this class was generated from the following file: