Enumerations | |
enum | type { point, interval, triangle, tetrahedron, quadrilateral, hexahedron, prism, pyramid } |
Cell type. | |
Functions | |
xt::xtensor< double, 2 > | geometry (cell::type celltype) |
std::vector< std::vector< std::vector< int > > > | topology (cell::type celltype) |
std::vector< std::vector< std::vector< std::vector< int > > > > | sub_entity_connectivity (cell::type celltype) |
xt::xtensor< double, 2 > | sub_entity_geometry (cell::type celltype, int dim, int index) |
int | num_sub_entities (cell::type celltype, int dim) |
int | topological_dimension (cell::type celltype) |
cell::type | sub_entity_type (cell::type celltype, int dim, int index) |
cell::type | str_to_type (std::string name) |
const std::string & | type_to_str (cell::type type) |
Convert cell type enum to string. | |
double | volume (cell::type cell_type) |
xt::xtensor< double, 2 > | facet_outward_normals (cell::type cell_type) |
xt::xtensor< double, 2 > | facet_normals (cell::type cell_type) |
std::vector< bool > | facet_orientations (cell::type cell_type) |
xt::xtensor< double, 1 > | facet_reference_volumes (cell::type cell_type) |
std::vector< std::vector< cell::type > > | subentity_types (cell::type cell_type) |
xt::xtensor< double, 3 > | facet_jacobians (cell::type cell_type) |
Information about reference cells including their topological and geometric data.
xt::xtensor< double, 3 > basix::cell::facet_jacobians | ( | cell::type | cell_type | ) |
Get the jacobians of the facets of a reference cell
cell_type | Type of cell |
xt::xtensor< double, 2 > basix::cell::facet_normals | ( | cell::type | cell_type | ) |
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 |
std::vector< bool > basix::cell::facet_orientations | ( | cell::type | cell_type | ) |
Get a array of bools indicating whether or not the facet normals are outward pointing
cell_type | Type of cell |
xt::xtensor< double, 2 > basix::cell::facet_outward_normals | ( | cell::type | cell_type | ) |
Get the (outward) normals to the facets of a reference cell
cell_type | Type of cell |
xt::xtensor< double, 1 > basix::cell::facet_reference_volumes | ( | cell::type | cell_type | ) |
Get the reference volumes of the facets of a reference cell
cell_type | Type of cell |
xt::xtensor< double, 2 > basix::cell::geometry | ( | cell::type | celltype | ) |
Cell geometry
celltype | Cell Type |
int basix::cell::num_sub_entities | ( | cell::type | celltype, |
int | dim | ||
) |
celltype | The cell::type |
dim | Dimension of sub-entity |
cell::type basix::cell::str_to_type | ( | std::string | name | ) |
Convert a cell type string to enum
name | String |
std::vector< std::vector< std::vector< std::vector< int > > > > basix::cell::sub_entity_connectivity | ( | cell::type | celltype | ) |
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 |
xt::xtensor< double, 2 > basix::cell::sub_entity_geometry | ( | cell::type | celltype, |
int | dim, | ||
int | index | ||
) |
Sub-entity of a cell, given by topological dimension and index
celltype | The cell::type |
dim | Dimension of sub-entity |
index | Local index of sub-entity |
cell::type basix::cell::sub_entity_type | ( | cell::type | celltype, |
int | dim, | ||
int | index | ||
) |
Get the cell type of a sub-entity of given dimension and index
celltype | Type of cell |
dim | Topological dimension of sub-entity |
index | Index of sub-entity |
std::vector< std::vector< cell::type > > basix::cell::subentity_types | ( | cell::type | cell_type | ) |
Get the reference volumes of the facets of a reference cell
cell_type | Type of cell |
int basix::cell::topological_dimension | ( | cell::type | celltype | ) |
Get the topological dimension for a given cell type
celltype | Cell type |
std::vector< std::vector< std::vector< int > > > basix::cell::topology | ( | cell::type | celltype | ) |
Cell topology
celltype | Cell Type |
double basix::cell::volume | ( | cell::type | cell_type | ) |
Get the volume of a reference cell
cell_type | Type of cell |