![]() |
Dune-Fufem 2.11-git
|
Class representing a face. More...
#include <dune/fufem/facehierarchy.hh>
Public Types | |
| typedef GridType::template Codim< 0 >::Entity | Element |
| typedef GridType::LevelGridView::Intersection | Intersection |
| typedef GridType::LevelGridView::IntersectionIterator | IntersectionIterator |
| typedef HierarchicFaceIterator< GridType > | HierarchicIterator |
| typedef Face< GridType > | FaceType |
Public Member Functions | |
| Face (const GridType &grid, const Element &e, int index=-1) | |
| template<class OtherFace > | |
| Face (const OtherFace &other) | |
| const Element & | element () const |
| Return the element associated with this face. | |
| void | setElement (const Element &e) |
| Set the element associated with this face. | |
| int | index () const |
| Return the index of the codim=1 subentity associated with this face. | |
| void | setIndex (int i) |
| Set the index of the codim=1 subentity associated with this face. | |
| int | level () const |
| Return level of the face/associated element. | |
| const GridType & | grid () const |
| Return reference to the grid the face belongs to. | |
| bool | isInitialized () const |
| Check if face is initialized (index>=0) | |
| HierarchicIterator | hbegin (int maxLevel) const |
| Return HierarchicIterator to subfaces. | |
| HierarchicIterator | hend (int maxLevel) const |
| Return end of HierarchicIterator to subfaces. | |
| FaceType | father () const |
| Return father face. | |
| template<class OtherFace > | |
| bool | isFather (const OtherFace &fatherFace) const |
| Check if given face is father face. | |
| template<class OtherFace > | |
| bool | isChild (const OtherFace &childFace) const |
| Check for if given face is child face. | |
| IntersectionIterator | intersection () const |
| Return a LevelIntersectionIterator associated with this face. | |
| IntersectionIterator | fatherIntersection () const |
| Return a LevelIntersectionIterator associated with the father face. | |
Protected Attributes | |
| const GridType * | grid_ |
| Element | element_ |
| int | index_ |
Detailed Description
class Face< GridType >
Class representing a face.
- Template Parameters
-
GridType Type of corresponding grid
The face is represented by some 'pointer to Entity<0>' and the index of a codim=1 subentity.
Member Typedef Documentation
◆ Element
◆ FaceType
◆ HierarchicIterator
| typedef HierarchicFaceIterator<GridType> Face< GridType >::HierarchicIterator |
◆ Intersection
| typedef GridType::LevelGridView::Intersection Face< GridType >::Intersection |
◆ IntersectionIterator
| typedef GridType::LevelGridView::IntersectionIterator Face< GridType >::IntersectionIterator |
Constructor & Destructor Documentation
◆ Face() [1/2]
|
inline |
◆ Face() [2/2]
|
inline |
Member Function Documentation
◆ element()
Return the element associated with this face.
◆ father()
◆ fatherIntersection()
|
inline |
Return a LevelIntersectionIterator associated with the father face.
◆ grid()
|
inline |
Return reference to the grid the face belongs to.
◆ hbegin()
|
inline |
Return HierarchicIterator to subfaces.
- Parameters
-
maxLevel The maximal level of subfaces to consider
◆ hend()
|
inline |
Return end of HierarchicIterator to subfaces.
- Parameters
-
maxLevel The maximal level of subfaces to consider
◆ index()
|
inline |
Return the index of the codim=1 subentity associated with this face.
◆ intersection()
|
inline |
Return a LevelIntersectionIterator associated with this face.
◆ isChild()
|
inline |
Check for if given face is child face.
- Parameters
-
childFace The candidate for being a child face
Check if childFace is a child face of *this.
◆ isFather()
|
inline |
Check if given face is father face.
- Parameters
-
fatherFace The candidate for being a father face
Check if fatherFace is the father face of *this.
◆ isInitialized()
|
inline |
Check if face is initialized (index>=0)
◆ level()
|
inline |
Return level of the face/associated element.
◆ setElement()
Set the element associated with this face.
◆ setIndex()
|
inline |
Set the index of the codim=1 subentity associated with this face.
Member Data Documentation
◆ element_
◆ grid_
|
protected |
◆ index_
|
protected |
The documentation for this class was generated from the following file:
