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

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

Inheritance diagram for Dune::YaspEntity< codim, dim, GridImp >:
Inheritance graph

Public Types

typedef GridImp::ctype ctype
 
typedef GridImp::template Codim< codim >::Geometry Geometry
 
typedef GridImp::Traits::template Codim< codim >::GeometryImpl GeometryImpl
 
typedef GridImp::template Codim< codim >::EntitySeed EntitySeed
 
typedef GridImp::YGridLevelIterator YGLI
 
typedef GridImp::YGrid::Iterator I
 
typedef GridImp::PersistentIndexType PersistentIndexType
 

Public Member Functions

int level () const
 level of this element More...
 
EntitySeed seed () const
 Return the entity seed which contains sufficient information to generate the entity again and uses as little memory as possible. More...
 
Geometry geometry () const
 geometry of this entity More...
 
constexpr GeometryType type () const
 Return the name of the reference element. The type can be used to access the Dune::ReferenceElement. More...
 
unsigned int subEntities (unsigned int cc) const
 
PartitionType partitionType () const
 return partition type attribute More...
 
 YaspEntity ()
 
 YaspEntity (const YGLI &g, const I &it)
 
 YaspEntity (YGLI &&g, const I &&it)
 
bool equals (const YaspEntity &e) const
 Return true when two iterators over the same grid are equal (!). More...
 
PersistentIndexType persistentIndex () const
 globally unique, persistent index More...
 
int compressedIndex () const
 consecutive, codim-wise, level-wise index More...
 
int subCompressedIndex (int i, unsigned int cc) const
 subentity compressed index More...
 
const Itransformingsubiterator () const
 
const YGLIgridlevel () const
 
Itransformingsubiterator ()
 
YGLIgridlevel ()
 
const GridImp * yaspgrid () const
 

Static Public Attributes

static constexpr int codimension
 know your own codimension More...
 
static constexpr int dimension
 Dimension of the grid. More...
 
static constexpr int mydimension
 Know dimension of the entity. More...
 

Protected Attributes

I _it = {}
 
YGLI _g = {}
 

Member Typedef Documentation

◆ ctype

template<int codim, int dim, class GridImp >
typedef GridImp::ctype Dune::YaspEntity< codim, dim, GridImp >::ctype

◆ EntitySeed

template<int codim, int dim, class GridImp >
typedef GridImp::template Codim<codim>::EntitySeed Dune::YaspEntity< codim, dim, GridImp >::EntitySeed

◆ Geometry

template<int codim, int dim, class GridImp >
typedef GridImp::template Codim<codim>::Geometry Dune::YaspEntity< codim, dim, GridImp >::Geometry

◆ GeometryImpl

template<int codim, int dim, class GridImp >
typedef GridImp::Traits::template Codim<codim>::GeometryImpl Dune::YaspEntity< codim, dim, GridImp >::GeometryImpl

◆ I

template<int codim, int dim, class GridImp >
typedef GridImp::YGrid::Iterator Dune::YaspEntity< codim, dim, GridImp >::I

◆ PersistentIndexType

template<int codim, int dim, class GridImp >
typedef GridImp::PersistentIndexType Dune::YaspEntity< codim, dim, GridImp >::PersistentIndexType

◆ YGLI

template<int codim, int dim, class GridImp >
typedef GridImp::YGridLevelIterator Dune::YaspEntity< codim, dim, GridImp >::YGLI

Constructor & Destructor Documentation

◆ YaspEntity() [1/3]

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

◆ YaspEntity() [2/3]

template<int codim, int dim, class GridImp >
Dune::YaspEntity< codim, dim, GridImp >::YaspEntity ( const YGLI g,
const I it 
)
inline

◆ YaspEntity() [3/3]

template<int codim, int dim, class GridImp >
Dune::YaspEntity< codim, dim, GridImp >::YaspEntity ( YGLI &&  g,
const I &&  it 
)
inline

Member Function Documentation

◆ compressedIndex()

template<int codim, int dim, class GridImp >
int Dune::YaspEntity< codim, dim, GridImp >::compressedIndex ( ) const
inline

consecutive, codim-wise, level-wise index

◆ equals()

template<int codim, int dim, class GridImp >
bool Dune::YaspEntity< codim, dim, GridImp >::equals ( const YaspEntity< codim, dim, GridImp > &  e) const
inline

Return true when two iterators over the same grid are equal (!).

◆ geometry()

template<int codim, int dim, class GridImp >
Geometry Dune::YaspEntity< codim, dim, GridImp >::geometry ( ) const
inline

geometry of this entity

◆ gridlevel() [1/2]

template<int codim, int dim, class GridImp >
YGLI & Dune::YaspEntity< codim, dim, GridImp >::gridlevel ( )
inline

◆ gridlevel() [2/2]

template<int codim, int dim, class GridImp >
const YGLI & Dune::YaspEntity< codim, dim, GridImp >::gridlevel ( ) const
inline

◆ level()

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

level of this element

◆ partitionType()

template<int codim, int dim, class GridImp >
PartitionType Dune::YaspEntity< codim, dim, GridImp >::partitionType ( ) const
inline

return partition type attribute

◆ persistentIndex()

template<int codim, int dim, class GridImp >
PersistentIndexType Dune::YaspEntity< codim, dim, GridImp >::persistentIndex ( ) const
inline

globally unique, persistent index

◆ seed()

template<int codim, int dim, class GridImp >
EntitySeed Dune::YaspEntity< codim, dim, GridImp >::seed ( ) const
inline

Return the entity seed which contains sufficient information to generate the entity again and uses as little memory as possible.

◆ subCompressedIndex()

template<int codim, int dim, class GridImp >
int Dune::YaspEntity< codim, dim, GridImp >::subCompressedIndex ( int  i,
unsigned int  cc 
) const
inline

subentity compressed index

◆ subEntities()

template<int codim, int dim, class GridImp >
unsigned int Dune::YaspEntity< codim, dim, GridImp >::subEntities ( unsigned int  cc) const
inline

Return number of subentities with codimension cc.

That number is (dim over (dim-codim)) times 2^codim

◆ transformingsubiterator() [1/2]

template<int codim, int dim, class GridImp >
I & Dune::YaspEntity< codim, dim, GridImp >::transformingsubiterator ( )
inline

◆ transformingsubiterator() [2/2]

template<int codim, int dim, class GridImp >
const I & Dune::YaspEntity< codim, dim, GridImp >::transformingsubiterator ( ) const
inline

◆ type()

template<int codim, int dim, class GridImp >
constexpr GeometryType Dune::YaspEntity< codim, dim, GridImp >::type ( ) const
inlineconstexpr

Return the name of the reference element. The type can be used to access the Dune::ReferenceElement.

◆ yaspgrid()

template<int codim, int dim, class GridImp >
const GridImp * Dune::YaspEntity< codim, dim, GridImp >::yaspgrid ( ) const
inline

Member Data Documentation

◆ _g

template<int codim, int dim, class GridImp >
YGLI Dune::YaspEntity< codim, dim, GridImp >::_g = {}
protected

◆ _it

template<int codim, int dim, class GridImp >
I Dune::YaspEntity< codim, dim, GridImp >::_it = {}
protected

◆ codimension

constexpr int Dune::EntityDefaultImplementation< cd, dim, GridImp, YaspEntity >::codimension
staticconstexprinherited

know your own codimension

◆ dimension

constexpr int Dune::EntityDefaultImplementation< cd, dim, GridImp, YaspEntity >::dimension
staticconstexprinherited

Dimension of the grid.

◆ mydimension

constexpr int Dune::EntityDefaultImplementation< cd, dim, GridImp, YaspEntity >::mydimension
staticconstexprinherited

Know dimension of the entity.


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