Bases: object
This class provides a common interface for different cell types. Each cell type implements mesh functionality that is specific to a certain type of cell.
Compute normal to given cell (viewed as embedded in 3D)
Return type of cell
Overloaded versions
collides(cell, point)
Check whether given point collides with cell
collides(cell, entity)
Check whether given entity collides with cell
Overloaded versions
create(type)
Create cell type from type (factory function)
create(type)
Create cell type from string (factory function)
Create entities e of given topological dimension from vertices v
Return description of cell type
Compute diameter of mesh entity
Return topological dimension of cell
Return type of cell for entity of dimension i
Compute the area/length of given facet with respect to the cell
Return type of cell for facets
Compute inradius of cell
Overloaded versions
normal(cell, facet, i)
Compute component i of normal of given facet with respect to the cell
normal(cell, facet)
Compute of given facet with respect to the cell
Return number of entities of given topological dimension
Overloaded versions
num_vertices()
Return number of vertices for cell
num_vertices(dim)
Return number of vertices for entity of given topological dimension
Order entities locally
Check if entities are ordered
Overloaded versions
orientation(cell)
Return orientation of the cell (assuming flat space)
orientation(cell, up)
Return orientation of the cell relative to given up direction
Compute dim*inradius/circumradius for given cell
Refine cell uniformly
Compute squared distance to given point
Convert from string to cell type
The membership flag
Compute triangulation of intersection of two cells
Convert from cell type to string
Compute (generalized) volume of mesh entity
Mapping of DOLFIN/UFC vertex ordering to VTK/XDMF ordering