10 #include <dolfinx/common/array2d.h>
11 #include <dolfinx/mesh/cell_types.h>
110 std::vector<std::uint8_t>
transpose(
const std::vector<std::uint8_t>& map);
120 const std::vector<std::uint8_t>& p);
This class provides a dynamic 2-dimensional row-wise array data structure.
Definition: array2d.h:21
A Mesh consists of a set of connected and numbered mesh topological entities, and geometry data.
Definition: Mesh.h:57
Functions for the re-ordering of input mesh topology to the DOLFINX ordering, and transpose orderings...
Definition: cells.h:22
std::vector< std::uint8_t > perm_gmsh(mesh::CellType type, int num_nodes)
Permutation array to map from Gmsh to DOLFINX node ordering.
Definition: cells.cpp:311
array2d< std::int64_t > compute_permutation(const array2d< std::int64_t > &cells, const std::vector< std::uint8_t > &p)
Permute cell topology by applying a permutation array for each cell.
Definition: cells.cpp:353
std::int8_t get_vtk_cell_type(const dolfinx::mesh::Mesh &mesh, int dim)
Get VTK cell identifier.
Definition: cells.cpp:367
std::vector< std::uint8_t > perm_vtk(mesh::CellType type, int num_nodes)
Permutation array to map from VTK to DOLFINX node ordering.
Definition: cells.cpp:279
std::vector< std::uint8_t > transpose(const std::vector< std::uint8_t > &map)
Compute the transpose of a re-ordering map.
Definition: cells.cpp:344
Mesh data structures and algorithms on meshes.
Definition: DirichletBC.h:22
CellType
Cell type identifier.
Definition: cell_types.h:22