Functions to get cell geometry information and manipulate cell types.
Functions
|
Convert a string to a Basix CellType. |
|
Convert a Basix CellType to a string. |
cell_facet_jacobians(arg0: basix._basixcpp.CellType) -> numpy.ndarray[numpy.float64]
Get the jacobians of the facets of a reference cell
cell_type – Type of cell
The jacobians of the facets. Shape is (nfacets, gdim, gdim - 1)
cell_facet_normals(arg0: basix._basixcpp.CellType) -> numpy.ndarray[numpy.float64]
Get the normals to the facets of a reference cell oriented using the low-to-high ordering of the facet
cell_type – Type of cell
The normals. Shape is (nfacets, gdim)
cell_facet_orientations(arg0: basix._basixcpp.CellType) -> List[bool]
Get an array of bools indicating whether or not the facet normals are outward pointing
cell_type – Type of cell
The orientations
cell_facet_outward_normals(arg0: basix._basixcpp.CellType) -> numpy.ndarray[numpy.float64]
Get the (outward) normals to the facets of a reference cell
cell_type – Type of cell
The outward normals. Shape is (nfacets, gdim)
cell_facet_reference_volumes(arg0: basix._basixcpp.CellType) -> numpy.ndarray[numpy.float64]
Get the reference volumes of the facets of a reference cell
cell_type – Type of cell
The volumes of the references associated with each facet
Convert a string to a Basix CellType.
cell – The name of the cell as a string.
The cell type
Get the numbers of entities connected to each subentity of the cell.
Returns a vector of the form: output[dim][entity_n][connected_dim] = [connected_entity_n0, connected_entity_n1, …] This indicates that the entity of dimension dim and number entity_n is connected to the entities of dimension connected_dim and numbers connected_entity_n0, connected_entity_n1, …
celltype – Cell Type
List of topology (vertex indices) for each dimension (0..tdim)
Convert a Basix CellType to a string.
celltype – The cell type.
The name of the cell as a string.
cell_volume(arg0: basix._basixcpp.CellType) -> float
Get the volume of a reference cell
cell_type – Type of cell
The volume of the cell