dune-grid 2.9.0
Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
Dune::Alberta::ElementInfo< dim > Class Template Reference

#include <dune/grid/albertagrid/elementinfo.hh>

Inheritance diagram for Dune::Alberta::ElementInfo< dim >:
Inheritance graph

Classes

struct  Instance
 
struct  Seed
 
class  Stack
 

Public Types

typedef Alberta::MacroElement< dimensionMacroElement
 
typedef Alberta::MeshPointer< dimensionMeshPointer
 
typedef Alberta::FillFlags< dimensionFillFlags
 
typedef GeometryCacheProxy< dim > GeometryCache
 

Public Member Functions

 ElementInfo ()
 
 ElementInfo (const MeshPointer &mesh, const MacroElement &macroElement, typename FillFlags::Flags fillFlags=FillFlags::standard)
 
 ElementInfo (const MeshPointer &mesh, const Seed &seed, typename FillFlags::Flags fillFlags=FillFlags::standard)
 
 ElementInfo (const ElementInfo &other)
 
 ElementInfo (ElementInfo &&other)
 
 ~ElementInfo ()
 
ElementInfooperator= (const ElementInfo &other)
 
ElementInfooperator= (ElementInfo &&other)
 
 operator bool () const
 
bool operator== (const ElementInfo &other) const
 
bool operator!= (const ElementInfo &other) const
 
const MacroElementmacroElement () const
 
ElementInfo father () const
 
int indexInFather () const
 
ElementInfo child (int i) const
 
bool isLeaf () const
 
Seed seed () const
 
MeshPointer mesh () const
 
bool mightVanish () const
 
int level () const
 
int type () const
 
int getMark () const
 
void setMark (int refCount) const
 
bool hasLeafNeighbor (const int face) const
 
ElementInfo leafNeighbor (const int face) const
 
int levelNeighbors (const int face, ElementInfo(&neighbor)[maxLevelNeighbors], int(&faceInNeighbor)[maxLevelNeighbors]) const
 
template<int codim>
int twist (int subEntity) const
 
int twistInNeighbor (int face) const
 
bool isBoundary (int face) const
 
int boundaryId (int face) const
 
AffineTransformationtransformation (int face) const
 
BasicNodeProjectionboundaryProjection (int face) const
 
bool hasCoordinates () const
 
const GlobalVectorcoordinate (int vertex) const
 
GeometryCache geometryCache () const
 
template<class Functor >
void hierarchicTraverse (Functor &functor) const
 
template<class Functor >
void leafTraverse (Functor &functor) const
 
const Elementelement () const
 
const Elementneighbor (int face) const
 
Elementel () const
 
ALBERTA EL_INFO & elInfo () const
 
int type () const
 

Static Public Member Functions

static ElementInfo createFake (const MeshPointer &mesh, const Element *element, int level, int type=0)
 
static ElementInfo createFake (const ALBERTA EL_INFO &elInfo)
 

Static Public Attributes

static const int dimension = dim
 
static const int numVertices = NumSubEntities< dimension, dimension >::value
 
static const int numFaces = NumSubEntities< dimension, 1 >::value
 
static const int maxNeighbors = N_NEIGH_MAX
 
static const int maxLevelNeighbors = Library< dimWorld >::maxLevelNeighbors
 

Member Typedef Documentation

◆ FillFlags

template<int dim>
typedef Alberta::FillFlags< dimension > Dune::Alberta::ElementInfo< dim >::FillFlags

◆ GeometryCache

template<int dim>
typedef GeometryCacheProxy< dim > Dune::Alberta::ElementInfo< dim >::GeometryCache

◆ MacroElement

template<int dim>
typedef Alberta::MacroElement< dimension > Dune::Alberta::ElementInfo< dim >::MacroElement

◆ MeshPointer

template<int dim>
typedef Alberta::MeshPointer< dimension > Dune::Alberta::ElementInfo< dim >::MeshPointer

Constructor & Destructor Documentation

◆ ElementInfo() [1/5]

template<int dim>
Dune::Alberta::ElementInfo< dim >::ElementInfo
inline

◆ ElementInfo() [2/5]

template<int dim>
Dune::Alberta::ElementInfo< dim >::ElementInfo ( const MeshPointer mesh,
const MacroElement macroElement,
typename FillFlags::Flags  fillFlags = FillFlags::standard 
)
inline

◆ ElementInfo() [3/5]

template<int dim>
Dune::Alberta::ElementInfo< dim >::ElementInfo ( const MeshPointer mesh,
const Seed seed,
typename FillFlags::Flags  fillFlags = FillFlags::standard 
)
inline

◆ ElementInfo() [4/5]

template<int dim>
Dune::Alberta::ElementInfo< dim >::ElementInfo ( const ElementInfo< dim > &  other)
inline

◆ ElementInfo() [5/5]

template<int dim>
Dune::Alberta::ElementInfo< dim >::ElementInfo ( ElementInfo< dim > &&  other)
inline

◆ ~ElementInfo()

template<int dim>
Dune::Alberta::ElementInfo< dim >::~ElementInfo
inline

Member Function Documentation

◆ boundaryId()

template<int dim>
int Dune::Alberta::ElementInfo< dim >::boundaryId ( int  face) const
inline

◆ boundaryProjection()

template<int dim>
BasicNodeProjection * Dune::Alberta::ElementInfo< dim >::boundaryProjection ( int  face) const
inline

◆ child()

template<int dim>
ElementInfo< dim > Dune::Alberta::ElementInfo< dim >::child ( int  i) const
inline

◆ coordinate()

template<int dim>
const GlobalVector & Dune::Alberta::ElementInfo< dim >::coordinate ( int  vertex) const
inline

◆ createFake() [1/2]

template<int dim>
ElementInfo< dim > Dune::Alberta::ElementInfo< dim >::createFake ( const ALBERTA EL_INFO &  elInfo)
inlinestatic

◆ createFake() [2/2]

template<int dim>
ElementInfo< dim > Dune::Alberta::ElementInfo< dim >::createFake ( const MeshPointer mesh,
const Element element,
int  level,
int  type = 0 
)
inlinestatic

◆ el()

template<int dim>
Element * Dune::Alberta::ElementInfo< dim >::el
inline

◆ element()

template<int dim>
const Element * Dune::Alberta::ElementInfo< dim >::element
inline

◆ elInfo()

template<int dim>
ALBERTA EL_INFO & Dune::Alberta::ElementInfo< dim >::elInfo
inline

◆ father()

template<int dim>
ElementInfo< dim > Dune::Alberta::ElementInfo< dim >::father
inline

◆ geometryCache()

template<int dim>
GeometryCache Dune::Alberta::ElementInfo< dim >::geometryCache ( ) const
inline

◆ getMark()

template<int dim>
int Dune::Alberta::ElementInfo< dim >::getMark
inline

◆ hasCoordinates()

template<int dim>
bool Dune::Alberta::ElementInfo< dim >::hasCoordinates
inline

◆ hasLeafNeighbor()

template<int dim>
bool Dune::Alberta::ElementInfo< dim >::hasLeafNeighbor ( const int  face) const
inline

◆ hierarchicTraverse()

template<int dim>
template<class Functor >
void Dune::Alberta::ElementInfo< dim >::hierarchicTraverse ( Functor &  functor) const
inline

◆ indexInFather()

template<int dim>
int Dune::Alberta::ElementInfo< dim >::indexInFather
inline

◆ isBoundary()

template<int dim>
bool Dune::Alberta::ElementInfo< dim >::isBoundary ( int  face) const
inline

◆ isLeaf()

template<int dim>
bool Dune::Alberta::ElementInfo< dim >::isLeaf
inline

◆ leafNeighbor()

template<int dim>
ElementInfo< dim > Dune::Alberta::ElementInfo< dim >::leafNeighbor ( const int  face) const
inline

◆ leafTraverse()

template<int dim>
template<class Functor >
void Dune::Alberta::ElementInfo< dim >::leafTraverse ( Functor &  functor) const
inline

◆ level()

template<int dim>
int Dune::Alberta::ElementInfo< dim >::level
inline

◆ levelNeighbors()

template<int dim>
int Dune::Alberta::ElementInfo< dim >::levelNeighbors ( const int  face,
ElementInfo< dim >(&)  neighbor[maxLevelNeighbors],
int(&)  faceInNeighbor[maxLevelNeighbors] 
) const
inline

◆ macroElement()

template<int dim>
const ElementInfo< dim >::MacroElement & Dune::Alberta::ElementInfo< dim >::macroElement
inline

◆ mesh()

template<int dim>
ElementInfo< dim >::MeshPointer Dune::Alberta::ElementInfo< dim >::mesh
inline

◆ mightVanish()

template<int dim>
bool Dune::Alberta::ElementInfo< dim >::mightVanish
inline

◆ neighbor()

template<int dim>
const Element * Dune::Alberta::ElementInfo< dim >::neighbor ( int  face) const
inline

◆ operator bool()

template<int dim>
Dune::Alberta::ElementInfo< dim >::operator bool ( ) const
inlineexplicit

◆ operator!=()

template<int dim>
bool Dune::Alberta::ElementInfo< dim >::operator!= ( const ElementInfo< dim > &  other) const
inline

◆ operator=() [1/2]

template<int dim>
ElementInfo< dim > & Dune::Alberta::ElementInfo< dim >::operator= ( const ElementInfo< dim > &  other)
inline

◆ operator=() [2/2]

template<int dim>
ElementInfo< dim > & Dune::Alberta::ElementInfo< dim >::operator= ( ElementInfo< dim > &&  other)
inline

◆ operator==()

template<int dim>
bool Dune::Alberta::ElementInfo< dim >::operator== ( const ElementInfo< dim > &  other) const
inline

◆ seed()

template<int dim>
ElementInfo< dim >::Seed Dune::Alberta::ElementInfo< dim >::seed
inline

◆ setMark()

template<int dim>
void Dune::Alberta::ElementInfo< dim >::setMark ( int  refCount) const
inline

◆ transformation()

template<int dim>
AffineTransformation * Dune::Alberta::ElementInfo< dim >::transformation ( int  face) const
inline

◆ twist()

template<int dim>
template<int codim>
int Dune::Alberta::ElementInfo< dim >::twist ( int  subEntity) const
inline

◆ twistInNeighbor()

template<int dim>
int Dune::Alberta::ElementInfo< dim >::twistInNeighbor ( int  face) const
inline

◆ type() [1/2]

template<int dim>
int Dune::Alberta::ElementInfo< dim >::type
inline

◆ type() [2/2]

int Dune::Alberta::ElementInfo< 3 >::type ( ) const
inline

Member Data Documentation

◆ dimension

template<int dim>
const int Dune::Alberta::ElementInfo< dim >::dimension = dim
static

◆ maxLevelNeighbors

template<int dim>
const int Dune::Alberta::ElementInfo< dim >::maxLevelNeighbors = Library< dimWorld >::maxLevelNeighbors
static

◆ maxNeighbors

template<int dim>
const int Dune::Alberta::ElementInfo< dim >::maxNeighbors = N_NEIGH_MAX
static

◆ numFaces

template<int dim>
const int Dune::Alberta::ElementInfo< dim >::numFaces = NumSubEntities< dimension, 1 >::value
static

◆ numVertices

template<int dim>
const int Dune::Alberta::ElementInfo< dim >::numVertices = NumSubEntities< dimension, dimension >::value
static

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