10#include <basix/cell.h>
11#include <dolfinx/graph/AdjacencyList.h>
87std::map<std::array<int, 2>, std::vector<std::set<int>>>
This class provides a static adjacency list data structure. It is commonly used to store directed gra...
Definition: AdjacencyList.h:46
Mesh data structures and algorithms on meshes.
Definition: DofMap.h:30
CellType cell_facet_type(CellType type, int index)
Return facet type of cell For simplex and hypercube cell types, this is independent of the facet inde...
Definition: cell_types.cpp:80
int cell_dim(CellType type)
Return topological dimension of cell type.
Definition: cell_types.cpp:160
CellType cell_entity_type(CellType type, int d, int index)
Return type of cell for entity of dimension d at given entity index.
Definition: cell_types.cpp:67
CellType cell_type_from_basix_type(basix::cell::type celltype)
Get a cell type from a Basix cell type.
Definition: cell_types.cpp:309
int num_cell_vertices(CellType type)
Number vertices for a cell type.
Definition: cell_types.cpp:221
graph::AdjacencyList< int > get_entity_vertices(CellType type, int dim)
Return list of entities, where entities(e, k) is the local vertex index for the kth vertex of entity ...
Definition: cell_types.cpp:108
basix::cell::type cell_type_to_basix_type(CellType celltype)
Convert a cell type to a Basix cell type.
Definition: cell_types.cpp:286
std::map< std::array< int, 2 >, std::vector< std::set< int > > > cell_entity_closure(CellType cell_type)
Closure entities for a cell, i.e., all lower-dimensional entities attached to a cell entity....
Definition: cell_types.cpp:227
int cell_num_entities(CellType type, int dim)
Number of entities of dimension dim.
Definition: cell_types.cpp:185
CellType
Cell type identifier.
Definition: cell_types.h:22
bool is_simplex(CellType type)
Check if cell is a simplex.
Definition: cell_types.cpp:219
std::string to_string(CellType type)
Get the cell string type for a cell type.
Definition: cell_types.cpp:20
CellType to_type(const std::string &cell)
Get the cell type from a cell string.
Definition: cell_types.cpp:45
graph::AdjacencyList< int > get_sub_entities(CellType type, int dim0, int dim1)
Get entities of dimension dim1 and that make up entities of dimension dim0.
Definition: cell_types.cpp:115