Face
Represents a face (codimension-1 element) in a mesh.
Defined in Rodin/Geometry/Polytope.h
class Face;
Faces are polytopes of dimension where is the mesh dimension:
- Triangles or quadrilaterals in 3D meshes
- Segments in 2D meshes
Faces are crucial for:
- Boundary condition application
- Interface problems
- Flux computations
Inherits from
| Base class | Responsibility |
|---|---|
PolytopepublicFull typePolytope | Base class for all geometric elements in finite element meshes. |
Inherited interface
| Declared in | Members |
|---|---|
Polytope |
Public types
Constructors, destructors, conversion operators
Public functions
- auto isBoundary() const -> bool
- Checks if this face is on the mesh boundary.
- auto isInterface() const -> bool
- Checks if this face is an interface between regions.
Function documentation
bool isBoundary() const
Checks if this face is on the mesh boundary.
| Returns | True if the face is a boundary face, false otherwise |
|---|
A face is on the boundary if it belongs to only one cell.
bool isInterface() const
Checks if this face is an interface between regions.
| Returns | True if the face separates different material regions |
|---|
An interface face connects cells with different attributes.