DOLFINx
0.1.0
DOLFINx C++ interface
|
10 #include <dolfinx/mesh/cell_types.h>
12 #include <xtensor/xtensor.hpp>
110 std::vector<std::uint8_t>
transpose(
const std::vector<std::uint8_t>& map);
119 xt::xtensor<std::int64_t, 2>
121 const std::vector<std::uint8_t>& p);
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:312
Mesh data structures and algorithms on meshes.
Definition: DirichletBC.h:22
CellType
Cell type identifier.
Definition: cell_types.h:21
A Mesh consists of a set of connected and numbered mesh topological entities, and geometry data.
Definition: Mesh.h:55
std::int8_t get_vtk_cell_type(const dolfinx::mesh::Mesh &mesh, int dim)
Get VTK cell identifier.
Definition: cells.cpp:368
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:280
xt::xtensor< std::int64_t, 2 > compute_permutation(const xt::xtensor< std::int64_t, 2 > &cells, const std::vector< std::uint8_t > &p)
Permute cell topology by applying a permutation array for each cell.
Definition: cells.cpp:354
Functions for the re-ordering of input mesh topology to the DOLFINx ordering, and transpose orderings...
Definition: cells.h:21
std::vector< std::uint8_t > transpose(const std::vector< std::uint8_t > &map)
Compute the transpose of a re-ordering map.
Definition: cells.cpp:345