dune-grid  2.4.1-rc2
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
 
template<>
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

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

Constructor & Destructor Documentation

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

References std::swap().

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

Member Function Documentation

template<int dim>
int Dune::Alberta::ElementInfo< dim >::boundaryId ( int  face) const
inline
template<int dim>
BasicNodeProjection * Dune::Alberta::ElementInfo< dim >::boundaryProjection ( int  face) const
inline
template<int dim>
ElementInfo< dim > Dune::Alberta::ElementInfo< dim >::child ( int  i) const
inline
template<int dim>
const GlobalVector & Dune::Alberta::ElementInfo< dim >::coordinate ( int  vertex) const
inline
template<int dim>
ElementInfo< dim > Dune::Alberta::ElementInfo< dim >::createFake ( const MeshPointer mesh,
const Element element,
int  level,
int  type = 0 
)
inlinestatic
template<int dim>
ElementInfo< dim > Dune::Alberta::ElementInfo< dim >::createFake ( const ALBERTA EL_INFO &  elInfo)
inlinestatic
template<int dim>
Element * Dune::Alberta::ElementInfo< dim >::el ( ) const
inline
template<int dim>
const Element * Dune::Alberta::ElementInfo< dim >::element ( ) const
inline
template<int dim>
ALBERTA EL_INFO & Dune::Alberta::ElementInfo< dim >::elInfo ( ) const
inline
template<int dim>
ElementInfo< dim > Dune::Alberta::ElementInfo< dim >::father ( ) const
inline
template<int dim>
GeometryCache Dune::Alberta::ElementInfo< dim >::geometryCache ( ) const
inline
template<int dim>
int Dune::Alberta::ElementInfo< dim >::getMark ( ) const
inline
template<int dim>
bool Dune::Alberta::ElementInfo< dim >::hasCoordinates ( ) const
inline
template<int dim>
bool Dune::Alberta::ElementInfo< dim >::hasLeafNeighbor ( const int  face) const
inline
template<int dim>
template<class Functor >
void Dune::Alberta::ElementInfo< dim >::hierarchicTraverse ( Functor &  functor) const
inline
template<int dim>
int Dune::Alberta::ElementInfo< dim >::indexInFather ( ) const
inline
template<int dim>
bool Dune::Alberta::ElementInfo< dim >::isBoundary ( int  face) const
inline
template<int dim>
bool Dune::Alberta::ElementInfo< dim >::isLeaf ( ) const
inline
template<int dim>
ElementInfo< dim > Dune::Alberta::ElementInfo< dim >::leafNeighbor ( const int  face) const
inline
template<int dim>
template<class Functor >
void Dune::Alberta::ElementInfo< dim >::leafTraverse ( Functor &  functor) const
inline
template<int dim>
int Dune::Alberta::ElementInfo< dim >::level ( ) const
inline
template<int dim>
int Dune::Alberta::ElementInfo< dim >::levelNeighbors ( const int  face,
ElementInfo< dim >(&)  neighbor[maxLevelNeighbors],
int(&)  faceInNeighbor[maxLevelNeighbors] 
) const
inline
template<int dim>
const ElementInfo< dim >::MacroElement & Dune::Alberta::ElementInfo< dim >::macroElement ( ) const
inline
template<int dim>
ElementInfo< dim >::MeshPointer Dune::Alberta::ElementInfo< dim >::mesh ( ) const
inline
template<int dim>
bool Dune::Alberta::ElementInfo< dim >::mightVanish ( ) const
inline
template<int dim>
const Element * Dune::Alberta::ElementInfo< dim >::neighbor ( int  face) const
inline
template<int dim>
Dune::Alberta::ElementInfo< dim >::operator bool ( ) const
inline
template<int dim>
bool Dune::Alberta::ElementInfo< dim >::operator!= ( const ElementInfo< dim > &  other) const
inline
template<int dim>
ElementInfo< dim > & Dune::Alberta::ElementInfo< dim >::operator= ( const ElementInfo< dim > &  other)
inline
template<int dim>
ElementInfo< dim > & Dune::Alberta::ElementInfo< dim >::operator= ( ElementInfo< dim > &&  other)
inline

References std::swap().

template<int dim>
bool Dune::Alberta::ElementInfo< dim >::operator== ( const ElementInfo< dim > &  other) const
inline
template<int dim>
ElementInfo< dim >::Seed Dune::Alberta::ElementInfo< dim >::seed ( ) const
inline
template<int dim>
void Dune::Alberta::ElementInfo< dim >::setMark ( int  refCount) const
inline
template<int dim>
AffineTransformation * Dune::Alberta::ElementInfo< dim >::transformation ( int  face) const
inline
template<int dim>
template<int codim>
int Dune::Alberta::ElementInfo< dim >::twist ( int  subEntity) const
inline
template<int dim>
int Dune::Alberta::ElementInfo< dim >::twistInNeighbor ( int  face) const
inline
template<int dim>
int Dune::Alberta::ElementInfo< dim >::type ( ) const
inline
template<>
int Dune::Alberta::ElementInfo< 3 >::type ( ) const
inline

Member Data Documentation

template<int dim>
const int Dune::Alberta::ElementInfo< dim >::dimension = dim
static
template<int dim>
const int Dune::Alberta::ElementInfo< dim >::maxLevelNeighbors = Library< dimWorld >::maxLevelNeighbors
static
template<int dim>
const int Dune::Alberta::ElementInfo< dim >::maxNeighbors = N_NEIGH_MAX
static
template<int dim>
const int Dune::Alberta::ElementInfo< dim >::numFaces = NumSubEntities< dimension, 1 >::value
static
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: