DOLFIN-X
DOLFIN-X C++ interface
|
11 #include <dolfinx/mesh/cell_types.h>
104 std::vector<std::uint8_t>
transpose(
const std::vector<std::uint8_t>& map);
113 Eigen::Array<std::int64_t, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor>
115 const Eigen::Ref<
const Eigen::Array<
116 std::int64_t, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor>>& cells,
117 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:315
CellType
Cell type identifier.
Definition: cell_types.h:21
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:283
Functions for the re-ordering of input mesh topology to the DOLFINX ordering, and transpose orderings...
Definition: cells.h:17
Eigen::Array< std::int64_t, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > compute_permutation(const Eigen::Ref< const Eigen::Array< std::int64_t, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor >> &cells, const std::vector< std::uint8_t > &p)
Permute cell topology by applying a permutation array for each cell.
Definition: cells.cpp:357
std::vector< std::uint8_t > transpose(const std::vector< std::uint8_t > &map)
Compute the transpose of a re-ordering map.
Definition: cells.cpp:348