Rodin::Geometry::Cell class

Represents a cell (highest-dimensional element) in a mesh.

Cells are polytopes of maximal dimension in the mesh:

  • Tetrahedra in 3D meshes
  • Triangles or quadrilaterals in 2D meshes
  • Segments in 1D meshes

Cells form the basis for finite element computations and define the computational domain.

Base classes

class Polytope
Base class for all geometric elements in finite element meshes.

Public types

using Parent = Polytope
Parent class type.

Constructors, destructors, conversion operators

Cell(Index index, const MeshBase& mesh)
Constructs a cell with given index.
Cell(const Cell& other)
Copy constructor.
Cell(Cell&& other)
Move constructor.

Function documentation

Rodin::Geometry::Cell::Cell(Index index, const MeshBase& mesh)

Constructs a cell with given index.

Parameters
index in Index of the cell in the mesh
mesh in Reference to the containing mesh