dune-grid
2.4.1
|
#include <dune/grid/alugrid/3d/faceutility.hh>
Public Types | |
enum | ConformanceState { CONFORMING, REFINED_INNER, REFINED_OUTER, UNDEFINED } |
typedef ImplTraits::GEOFaceType | GEOFaceType |
typedef ImplTraits::GEOElementType | GEOElementType |
typedef ImplTraits::GEOPeriodicType | GEOPeriodicType |
typedef ImplTraits::IMPLElementType | IMPLElementType |
typedef ImplTraits::GhostPairType | GhostPairType |
typedef ImplTraits::BNDFaceType | BNDFaceType |
Public Member Functions | |
ALU3dGridFaceInfo (const bool conformingRefinement, const bool ghostCellsEnabled) | |
constructor creating empty face info More... | |
void | updateFaceInfo (const GEOFaceType &face, int innerLevel, int innerTwist) |
ALU3dGridFaceInfo (const GEOFaceType &face, int innerTwist) | |
ALU3dGridFaceInfo (const ALU3dGridFaceInfo &orig) | |
~ALU3dGridFaceInfo () | |
Destructor. More... | |
bool | outerBoundary () const |
bool | boundary () const |
returns true if the face lies on the domain boundary More... | |
bool | neighbor () const |
returns true if outside is something meaningfull More... | |
bool | ghostBoundary () const |
const GEOFaceType & | face () const |
Returns the ALU3dGrid face. More... | |
const GEOElementType & | innerEntity () const |
Returns the inner element at that face. More... | |
const GEOElementType & | outerEntity () const |
const BNDFaceType & | innerFace () const |
const BNDFaceType & | boundaryFace () const |
int | innerTwist () const |
Twist of the face seen from the inner element. More... | |
int | outerTwist () const |
Twist of the face seen from the outer element. More... | |
int | duneTwist (const int faceIdx, const int aluTwist) const |
Twist of the face seen from the inner element. More... | |
int | innerALUFaceIndex () const |
Local number of the face in inner element (ALU3dGrid reference element) More... | |
int | outerALUFaceIndex () const |
Local number of the face in outer element (ALU3dGrid reference element) More... | |
int | outsideLevel () const |
int | segmentIndex () const |
return boundary segment index if intersection is with domain boundary More... | |
int | boundaryId () const |
return boundary id if intersection is with domain boundary More... | |
ConformanceState | conformanceState () const |
Description of conformance on the face. More... | |
bool | parallel () const |
return whether we are in a parallel environment or not More... | |
bool | conformingRefinement () const |
return true if conforming refinement is enabled More... | |
Protected Member Functions | |
bool | isElementLike () const |
returns true if outerEntity casts into a helement More... | |
bool | innerBoundary () const |
returns true if inside is a ghost entity More... | |
typedef ImplTraits::BNDFaceType Dune::ALU3dGridFaceInfo< type, Comm >::BNDFaceType |
typedef ImplTraits::GEOElementType Dune::ALU3dGridFaceInfo< type, Comm >::GEOElementType |
typedef ImplTraits::GEOFaceType Dune::ALU3dGridFaceInfo< type, Comm >::GEOFaceType |
typedef ImplTraits::GEOPeriodicType Dune::ALU3dGridFaceInfo< type, Comm >::GEOPeriodicType |
typedef ImplTraits::GhostPairType Dune::ALU3dGridFaceInfo< type, Comm >::GhostPairType |
typedef ImplTraits::IMPLElementType Dune::ALU3dGridFaceInfo< type, Comm >::IMPLElementType |
enum Dune::ALU3dGridFaceInfo::ConformanceState |
Dune::ALU3dGridFaceInfo< type, Comm >::ALU3dGridFaceInfo | ( | const bool | conformingRefinement, |
const bool | ghostCellsEnabled | ||
) |
constructor creating empty face info
Dune::ALU3dGridFaceInfo< type, Comm >::ALU3dGridFaceInfo | ( | const GEOFaceType & | face, |
int | innerTwist | ||
) |
Construct a connector from a face and the twist seen from the inner element
Dune::ALU3dGridFaceInfo< type, Comm >::ALU3dGridFaceInfo | ( | const ALU3dGridFaceInfo< type, Comm > & | orig | ) |
Dune::ALU3dGridFaceInfo< type, Comm >::~ALU3dGridFaceInfo | ( | ) |
Destructor.
bool Dune::ALU3dGridFaceInfo< type, Comm >::boundary | ( | ) | const |
returns true if the face lies on the domain boundary
const BNDFaceType& Dune::ALU3dGridFaceInfo< type, Comm >::boundaryFace | ( | ) | const |
Returns the boundary (outer) element at that face
int Dune::ALU3dGridFaceInfo< type, Comm >::boundaryId | ( | ) | const |
return boundary id if intersection is with domain boundary
ConformanceState Dune::ALU3dGridFaceInfo< type, Comm >::conformanceState | ( | ) | const |
Description of conformance on the face.
Referenced by Dune::ALU3dGridIntersectionIterator< GridImp >::conforming(), and Dune::ALU3dGridLevelIntersectionIterator< GridImp >::conforming().
|
inline |
return true if conforming refinement is enabled
Referenced by Dune::ALU3dGridLevelIntersectionIterator< GridImp >::conforming().
int Dune::ALU3dGridFaceInfo< type, Comm >::duneTwist | ( | const int | faceIdx, |
const int | aluTwist | ||
) | const |
Twist of the face seen from the inner element.
const GEOFaceType& Dune::ALU3dGridFaceInfo< type, Comm >::face | ( | ) | const |
Returns the ALU3dGrid face.
Referenced by Dune::ALU3dGridIntersectionIterator< GridImp >::getItem().
bool Dune::ALU3dGridFaceInfo< type, Comm >::ghostBoundary | ( | ) | const |
is the neighbour element a ghost element or a ghost face in case of face true is returned
int Dune::ALU3dGridFaceInfo< type, Comm >::innerALUFaceIndex | ( | ) | const |
Local number of the face in inner element (ALU3dGrid reference element)
|
protected |
returns true if inside is a ghost entity
const GEOElementType& Dune::ALU3dGridFaceInfo< type, Comm >::innerEntity | ( | ) | const |
Returns the inner element at that face.
const BNDFaceType& Dune::ALU3dGridFaceInfo< type, Comm >::innerFace | ( | ) | const |
Returns the inner element at that face
int Dune::ALU3dGridFaceInfo< type, Comm >::innerTwist | ( | ) | const |
Twist of the face seen from the inner element.
|
protected |
returns true if outerEntity casts into a helement
bool Dune::ALU3dGridFaceInfo< type, Comm >::neighbor | ( | ) | const |
returns true if outside is something meaningfull
int Dune::ALU3dGridFaceInfo< type, Comm >::outerALUFaceIndex | ( | ) | const |
Local number of the face in outer element (ALU3dGrid reference element)
bool Dune::ALU3dGridFaceInfo< type, Comm >::outerBoundary | ( | ) | const |
returns true if the face lies on the domain boundary and is not a periodic boundary
const GEOElementType& Dune::ALU3dGridFaceInfo< type, Comm >::outerEntity | ( | ) | const |
Returns the outer element at that face
int Dune::ALU3dGridFaceInfo< type, Comm >::outerTwist | ( | ) | const |
Twist of the face seen from the outer element.
int Dune::ALU3dGridFaceInfo< type, Comm >::outsideLevel | ( | ) | const |
|
inline |
return whether we are in a parallel environment or not
int Dune::ALU3dGridFaceInfo< type, Comm >::segmentIndex | ( | ) | const |
return boundary segment index if intersection is with domain boundary
void Dune::ALU3dGridFaceInfo< type, Comm >::updateFaceInfo | ( | const GEOFaceType & | face, |
int | innerLevel, | ||
int | innerTwist | ||
) |