dune-grid 2.9.0
Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
Dune::YaspEntitySeed< codim, GridImp > Class Template Reference

Describes the minimal information necessary to create a fully functional YaspEntity. More...

#include <dune/grid/yaspgrid/yaspgridentityseed.hh>

Public Member Functions

 YaspEntitySeed ()
 default construct an invalid entity seed More...
 
 YaspEntitySeed (int level, std::array< int, dim > coord, int o=0)
 constructor More...
 
bool isValid () const
 check whether the EntitySeed refers to a valid Entity More...
 
int level () const
 
const std::array< int, dim > & coord () const
 
int offset () const
 

Static Public Attributes

static constexpr int codimension = codim
 codimension of entity More...
 

Protected Attributes

int _l
 
std::array< int, dim > _c
 
int _o
 

Detailed Description

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

Describes the minimal information necessary to create a fully functional YaspEntity.

Constructor & Destructor Documentation

◆ YaspEntitySeed() [1/2]

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

default construct an invalid entity seed

◆ YaspEntitySeed() [2/2]

template<int codim, class GridImp >
Dune::YaspEntitySeed< codim, GridImp >::YaspEntitySeed ( int  level,
std::array< int, dim >  coord,
int  o = 0 
)
inline

constructor

Member Function Documentation

◆ coord()

template<int codim, class GridImp >
const std::array< int, dim > & Dune::YaspEntitySeed< codim, GridImp >::coord ( ) const
inline

◆ isValid()

template<int codim, class GridImp >
bool Dune::YaspEntitySeed< codim, GridImp >::isValid ( ) const
inline

check whether the EntitySeed refers to a valid Entity

◆ level()

template<int codim, class GridImp >
int Dune::YaspEntitySeed< codim, GridImp >::level ( ) const
inline

◆ offset()

template<int codim, class GridImp >
int Dune::YaspEntitySeed< codim, GridImp >::offset ( ) const
inline

Member Data Documentation

◆ _c

template<int codim, class GridImp >
std::array<int, dim> Dune::YaspEntitySeed< codim, GridImp >::_c
protected

◆ _l

template<int codim, class GridImp >
int Dune::YaspEntitySeed< codim, GridImp >::_l
protected

◆ _o

template<int codim, class GridImp >
int Dune::YaspEntitySeed< codim, GridImp >::_o
protected

◆ codimension

template<int codim, class GridImp >
constexpr int Dune::YaspEntitySeed< codim, GridImp >::codimension = codim
staticconstexpr

codimension of entity


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