Class MeshMapping
Defined in File mesh_mapping.h
Nested Relationships
Nested Types
Class Documentation
-
class MeshMapping
Produces a mapping between a fine mesh and a coarse mesh. Each fine mesh cell face must be fully contained within a coarse mesh face. The meshes can be the same.
Public Functions
-
MeshMapping() = default
Builds the mapping.
-
const CoarseMapping &GetCoarseMapping(const Cell &coarse_cell) const
Get the mapping from the given coarse mesh cell.
-
const FineMapping &GetFineMapping(const Cell &fine_cell) const
Get the mapping for the given fine mesh cell.
Public Static Attributes
-
static const size_t invalid_face_index
Identifier for an invalid face index that means a face maps to nothing.
-
struct CoarseMapping
Helper struct for storing the mapping to a coarse cell from a fine cell.
Public Functions
Public Members
-
MeshMapping() = default