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 (basix.CellType) – Type of cell
The jacobians of the facets
numpy.ndarray[numpy.float64]
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 (basix.CellType) – Type of cell
The normals
numpy.ndarray[numpy.float64]
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 (basix.CellType) – Type of cell
The orientations
List[bool]
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 (basix.CellType) – Type of cell
The outward normals
numpy.ndarray[numpy.float64]
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 (basix.CellType) – Type of cell
The volumes of the references associated with each facet
numpy.ndarray[numpy.float64]
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 (basix.CellType) – Cell Type
List of topology (vertex indices) for each dimension (0..tdim)
List[List[List[List[int]]]]
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 (basix.CellType) – Type of cell
The volume of the cell
float