Basix
|
Enumerations | |
enum class | 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) |
xt::xtensor< double, 2 > | sub_entity_geometry (cell::type celltype, int dim, int index) |
int | sub_entity_count (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. | |
Information about reference cells including their topological and geometric data.
xt::xtensor< double, 2 > basix::cell::geometry | ( | cell::type | celltype | ) |
Cell geometry
celltype | Cell Type |
cell::type basix::cell::str_to_type | ( | std::string | name | ) |
Convert a cell type string to enum
name | String |
int basix::cell::sub_entity_count | ( | cell::type | celltype, |
int | dim | ||
) |
Number of sub-entities of a cell by topological dimension
celltype | The cell::type |
dim | Dimension of sub-entity |
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 |
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 |