Face class
#include <Rodin/Geometry/Polytope.h>
Represents a face (codimension-1 element) in a mesh.
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
Base classes
- class Polytope
- Base class for all geometric elements in finite element meshes.
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 Rodin:: Geometry:: Face:: 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 Rodin:: Geometry:: Face:: 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.