Cell

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

Defined in Rodin/Geometry/Polytope.h

class Cell;

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.

Direct inheritance by class family
↓
Cell

Inherits from

Base classResponsibility
Polytopepublic
Full type
Polytope
Base class for all geometric elements in finite element meshes.

Inherited interface

Declared inMembers
Polytope
20 members

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

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

Cell(const Cell& other)

Copy constructor.

Parameters
other Object to copy from.

Cell(Cell&& other)

Move constructor.

Parameters
other Object to move from.