Home Installation Demos C++ docs Python docs
basix.cell¶
Functions to get cell geometry information and manipulate cell types.
Functions
|
Jacobians of the facets of a reference cell. |
|
Normals to the facets of a reference cell. |
|
Orientations of the facets of a reference cell. |
|
Normals to the facets of a reference cell. |
|
Reference volumes of the facets of a reference cell. |
|
Cell geometry. |
|
Numbers of entities connected to each sub-entity of the cell. |
|
Get the types of the subentities of a reference cell. |
|
Cell topology. |
|
Volume of a reference cell. |
- basix.cell.facet_jacobians(celltype: CellType) _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes] ¶
Jacobians of the facets of a reference cell.
- Parameters:
celltype – cell type.
- Returns:
Jacobians of the facets.
- basix.cell.facet_normals(celltype: CellType) _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes] ¶
Normals to the facets of a reference cell.
These normals will be oriented using the low-to-high ordering of the facet.
- Parameters:
celltype – Cell type.
- Returns:
Normals to the facets.
- basix.cell.facet_orientations(celltype: CellType) list[int] ¶
Orientations of the facets of a reference cell.
This returns a list of bools that are
True
if the facet normal points outwards andFalse
otherwise.- Parameters:
celltype – Cell type.
- Returns:
Facet orientations.
- basix.cell.facet_outward_normals(celltype: CellType) _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes] ¶
Normals to the facets of a reference cell.
These normals will be oriented to be pointing outwards.
- Parameters:
celltype – Cell type.
- Returns:
Normals to the facets.
- basix.cell.facet_reference_volumes(celltype: CellType) _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes] ¶
Reference volumes of the facets of a reference cell.
- Parameters:
celltype – Cell type.
- Returns:
Reference volumes.
- basix.cell.sub_entity_connectivity(celltype: CellType) list[list[list[list[int]]]] ¶
Numbers of entities connected to each sub-entity of the cell.
- Parameters:
celltype – cell type.
- Returns:
Topology (vertex indices) for each dimension (0..tdim).