dune-grid
2.2.0
|
#include <dune/grid/albertagrid/elementinfo.hh>
Classes | |
struct | Instance |
struct | Library |
struct | Seed |
class | Stack |
Public Types | |
typedef Alberta::MacroElement < dimension > | MacroElement |
typedef Alberta::MeshPointer < dimension > | MeshPointer |
typedef Alberta::FillFlags < dimension > | FillFlags |
typedef GeometryCacheProxy< dim > | GeometryCache |
Public Member Functions | |
ElementInfo () | |
ElementInfo (const MeshPointer &mesh, const MacroElement ¯oElement, 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 & | operator= (const ElementInfo &other) |
operator bool () const | |
bool | operator== (const ElementInfo &other) const |
bool | operator!= (const ElementInfo &other) const |
const MacroElement & | macroElement () 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 |
AffineTransformation * | transformation (int face) const |
BasicNodeProjection * | boundaryProjection (int face) const |
bool | hasCoordinates () const |
const GlobalVector & | coordinate (int vertex) const |
GeometryCache | geometryCache () const |
template<class Functor > | |
void | hierarchicTraverse (Functor &functor) const |
template<class Functor > | |
void | leafTraverse (Functor &functor) const |
const Element * | element () const |
const Element * | neighbor (int face) const |
Element * | el () 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 |
typedef Alberta::FillFlags< dimension > Dune::Alberta::ElementInfo< dim >::FillFlags |
typedef GeometryCacheProxy< dim > Dune::Alberta::ElementInfo< dim >::GeometryCache |
typedef Alberta::MacroElement< dimension > Dune::Alberta::ElementInfo< dim >::MacroElement |
typedef Alberta::MeshPointer< dimension > Dune::Alberta::ElementInfo< dim >::MeshPointer |
Dune::Alberta::ElementInfo< dim >::ElementInfo | ( | ) | [inline] |
Dune::Alberta::ElementInfo< dim >::ElementInfo | ( | const MeshPointer & | mesh, |
const MacroElement & | macroElement, | ||
typename FillFlags::Flags | fillFlags = FillFlags::standard |
||
) | [inline] |
Dune::Alberta::ElementInfo< dim >::ElementInfo | ( | const MeshPointer & | mesh, |
const Seed & | seed, | ||
typename FillFlags::Flags | fillFlags = FillFlags::standard |
||
) | [inline] |
Dune::Alberta::ElementInfo< dim >::ElementInfo | ( | const ElementInfo< dim > & | other | ) | [inline] |
Dune::Alberta::ElementInfo< dim >::~ElementInfo | ( | ) | [inline] |
int Dune::Alberta::ElementInfo< dim >::boundaryId | ( | int | face | ) | const |
BasicNodeProjection * Dune::Alberta::ElementInfo< dim >::boundaryProjection | ( | int | face | ) | const [inline] |
ElementInfo< dim > Dune::Alberta::ElementInfo< dim >::child | ( | int | i | ) | const [inline] |
const GlobalVector & Dune::Alberta::ElementInfo< dim >::coordinate | ( | int | vertex | ) | const [inline] |
References Dune::VTK::vertex.
Referenced by Dune::AlbertaGrid< dim, dimworld >::getCoord(), and Dune::Alberta::CoordCache< dim >::LocalCaching::operator()().
ElementInfo< dim > Dune::Alberta::ElementInfo< dim >::createFake | ( | const MeshPointer & | mesh, |
const Element * | element, | ||
int | level, | ||
int | type = 0 |
||
) | [inline, static] |
ElementInfo< dim > Dune::Alberta::ElementInfo< dim >::createFake | ( | const ALBERTA EL_INFO & | elInfo | ) | [inline, static] |
Element * Dune::Alberta::ElementInfo< dim >::el | ( | ) | const [inline] |
Referenced by Dune::AlbertaGridIndexSet< dim, dimworld >::contains(), Dune::AlbertaGridEntity< codim, dim, GridImp >::equals(), Dune::AlbertaGridEntity< 0, dim, GridImp >::equals(), Dune::Alberta::ElementInfo< dim >::indexInFather(), Dune::AlbertaGridLevelProvider< dimension >::isNew(), Dune::Alberta::ElementInfo< dim >::Library< int >::leafNeighbor(), Dune::Alberta::ElementInfo< dim >::Library< int >::levelNeighbors(), Dune::Alberta::CoordCache< dim >::operator()(), Dune::AlbertaGridLevelProvider< dimension >::operator()(), Dune::Alberta::DofAccess< dim, dim >::operator()(), Dune::Alberta::CoordCache< dim >::LocalCaching::operator()(), Dune::Alberta::HierarchyDofNumbering< dimension >::operator()(), and Dune::AlbertaGridIndexSet< dim, dimworld >::update().
const Element * Dune::Alberta::ElementInfo< dim >::element | ( | ) | const [inline] |
ALBERTA EL_INFO & Dune::Alberta::ElementInfo< dim >::elInfo | ( | ) | const [inline] |
ElementInfo< dim > Dune::Alberta::ElementInfo< dim >::father | ( | ) | const [inline] |
GeometryCache Dune::Alberta::ElementInfo< dim >::geometryCache | ( | ) | const [inline] |
int Dune::Alberta::ElementInfo< dim >::getMark | ( | ) | const [inline] |
bool Dune::Alberta::ElementInfo< dim >::hasCoordinates | ( | ) | const [inline] |
References Dune::Alberta::FillFlags< dim >::coords.
bool Dune::Alberta::ElementInfo< dim >::hasLeafNeighbor | ( | const int | face | ) | const [inline] |
void Dune::Alberta::ElementInfo< dim >::hierarchicTraverse | ( | Functor & | functor | ) | const [inline] |
Referenced by Dune::Alberta::MeshPointer< dim >::hierarchicTraverse().
int Dune::Alberta::ElementInfo< dim >::indexInFather | ( | ) | const [inline] |
bool Dune::Alberta::ElementInfo< dim >::isBoundary | ( | int | face | ) | const [inline] |
bool Dune::Alberta::ElementInfo< dim >::isLeaf | ( | ) | const [inline] |
ElementInfo< dim > Dune::Alberta::ElementInfo< dim >::leafNeighbor | ( | const int | face | ) | const [inline] |
void Dune::Alberta::ElementInfo< dim >::leafTraverse | ( | Functor & | functor | ) | const [inline] |
Referenced by Dune::Alberta::MeshPointer< dim >::leafTraverse().
int Dune::Alberta::ElementInfo< dim >::level | ( | ) | const [inline] |
Referenced by Dune::Alberta::ElementInfo< dim >::Library< int >::leafNeighbor(), Dune::AlbertaGridEntity< 0, dim, GridImp >::level(), Dune::Alberta::ElementInfo< dim >::Library< int >::levelNeighbors(), Dune::AlbertaGridLevelProvider< dim >::SetLocal::operator()(), Dune::AlbertaGridLevelProvider< dim >::CalcMaxLevel::operator()(), Dune::Alberta::ElementInfo< dim >::Seed::operator<(), and Dune::Alberta::ElementInfo< dim >::Seed::operator==().
int Dune::Alberta::ElementInfo< dim >::levelNeighbors | ( | const int | face, |
ElementInfo< dim >(&) | neighbor[maxLevelNeighbors], | ||
int(&) | faceInNeighbor[maxLevelNeighbors] | ||
) | const [inline] |
const ElementInfo< dim >::MacroElement & Dune::Alberta::ElementInfo< dim >::macroElement | ( | ) | const [inline] |
ElementInfo< dim >::MeshPointer Dune::Alberta::ElementInfo< dim >::mesh | ( | ) | const [inline] |
bool Dune::Alberta::ElementInfo< dim >::mightVanish | ( | ) | const [inline] |
Referenced by Dune::AlbertaGridEntity< 0, dim, GridImp >::mightVanish().
const Element * Dune::Alberta::ElementInfo< dim >::neighbor | ( | int | face | ) | const [inline] |
References Dune::Alberta::FillFlags< dim >::neighbor.
Dune::Alberta::ElementInfo< dim >::operator bool | ( | ) | const [inline] |
bool Dune::Alberta::ElementInfo< dim >::operator!= | ( | const ElementInfo< dim > & | other | ) | const [inline] |
ElementInfo< dim > & Dune::Alberta::ElementInfo< dim >::operator= | ( | const ElementInfo< dim > & | other | ) | [inline] |
bool Dune::Alberta::ElementInfo< dim >::operator== | ( | const ElementInfo< dim > & | other | ) | const [inline] |
ElementInfo< dim >::Seed Dune::Alberta::ElementInfo< dim >::seed | ( | ) | const [inline] |
void Dune::Alberta::ElementInfo< dim >::setMark | ( | int | refCount | ) | const [inline] |
AffineTransformation * Dune::Alberta::ElementInfo< dim >::transformation | ( | int | face | ) | const [inline] |
int Dune::Alberta::ElementInfo< dim >::twist | ( | int | subEntity | ) | const [inline] |
References Dune::Alberta::Twist< dim, subdim >::twist().
int Dune::Alberta::ElementInfo< dim >::twistInNeighbor | ( | int | face | ) | const [inline] |
References Dune::Alberta::Twist< dim, subdim >::twist().
int Dune::Alberta::ElementInfo< dim >::type | ( | ) | const [inline] |
int Dune::Alberta::ElementInfo< 3 >::type | ( | ) | const [inline] |
const int Dune::Alberta::ElementInfo< dim >::dimension = dim [static] |
const int Dune::Alberta::ElementInfo< dim >::maxLevelNeighbors = Library< dimWorld >::maxLevelNeighbors [static] |
const int Dune::Alberta::ElementInfo< dim >::maxNeighbors = N_NEIGH_MAX [static] |
const int Dune::Alberta::ElementInfo< dim >::numFaces = NumSubEntities< dimension, 1 >::value [static] |
const int Dune::Alberta::ElementInfo< dim >::numVertices = NumSubEntities< dimension, dimension >::value [static] |