DOLFIN-X
DOLFIN-X C++ interface
|
48 Eigen::Array<int, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor>
53 Eigen::Array<int, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor>
80 std::map<std::array<int, 2>, std::vector<std::set<int>>>
bool is_simplex(CellType type)
Check if cell is a simplex.
Definition: cell_types.cpp:414
int cell_num_entities(mesh::CellType type, int dim)
Number of entities of dimension dim.
Definition: cell_types.cpp:385
CellType cell_entity_type(CellType type, int d)
Return type of cell for entity of dimension d.
Definition: cell_types.cpp:249
CellType
Cell type identifier.
Definition: cell_types.h:22
int num_cell_nodes(mesh::CellType type, int degree)
Definition: cell_types.cpp:586
CellType to_type(const std::string &type)
Convert from string to cell type.
Definition: cell_types.cpp:228
std::string to_string(CellType type)
Convert from cell type to string.
Definition: cell_types.cpp:206
int cell_dim(CellType type)
Return topological dimension of cell type.
Definition: cell_types.cpp:363
Eigen::Array< int, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > get_sub_entities(CellType type, int dim0, int dim1)
Get entities of dimsion dim1 and that make up entities of dimension dim0.
Definition: cell_types.cpp:308
int cell_degree(CellType type, int num_nodes)
Definition: cell_types.cpp:485
std::vector< int > cell_vertex_indices(mesh::CellType type, int num_nodes)
Definition: cell_types.cpp:557
CellType cell_facet_type(CellType type)
Return facet type of cell.
Definition: cell_types.cpp:262
Eigen::Array< int, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > get_entity_vertices(CellType type, int dim)
Return array entities(num entities, num vertices per entity), where entities(e, k) is the local verte...
Definition: cell_types.cpp:285
std::map< std::array< int, 2 >, std::vector< std::set< int > > > cell_entity_closure(mesh::CellType cell_type)
Closure entities for a cell, i.e., all lower-dimensional entities attached to a cell entity....
Definition: cell_types.cpp:425
int num_cell_vertices(CellType type)
Number vertices for a cell type.
Definition: cell_types.cpp:419