DOLFIN-X
DOLFIN-X C++ interface
|
10 #include <dolfinx/mesh/cell_types.h>
33 namespace io::xdmf_mesh
40 void add_mesh(MPI_Comm comm, pugi::xml_node& xml_node,
const hid_t h5_id,
41 const mesh::Mesh& mesh,
const std::string path_prefix);
55 const hid_t h5_id,
const std::string path_prefix,
58 const std::vector<std::int32_t>& active_entities);
62 const hid_t h5_id,
const std::string path_prefix,
68 std::pair<mesh::CellType, int>,
69 Eigen::Array<double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor>,
70 Eigen::Array<std::int64_t, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor>>
71 read_mesh_data(MPI_Comm comm,
const hid_t h5_id,
const pugi::xml_node& node);
void add_mesh(MPI_Comm comm, pugi::xml_node &xml_node, const hid_t h5_id, const mesh::Mesh &mesh, const std::string path_prefix)
Add Mesh to xml node.
Definition: xdmf_mesh.cpp:199
void add_topology_data(MPI_Comm comm, pugi::xml_node &xml_node, const hid_t h5_id, const std::string path_prefix, const mesh::Topology &topology, const mesh::Geometry &geometry, const int cell_dim, const std::vector< std::int32_t > &active_entities)
Add Topology xml node.
Definition: xdmf_mesh.cpp:18
void add_geometry_data(MPI_Comm comm, pugi::xml_node &xml_node, const hid_t h5_id, const std::string path_prefix, const mesh::Geometry &geometry)
Add Geometry xml node.
Definition: xdmf_mesh.cpp:146
A Mesh consists of a set of connected and numbered mesh topological entities, and geometry data.
Definition: Mesh.h:46
std::tuple< std::pair< mesh::CellType, int >, Eigen::Array< double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor >, Eigen::Array< std::int64_t, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > > read_mesh_data(MPI_Comm comm, const hid_t h5_id, const pugi::xml_node &node)
Read Topology and Geometry arrays.
Definition: xdmf_mesh.cpp:234
Topology stores the topology of a mesh, consisting of mesh entities and connectivity (incidence relat...
Definition: Topology.h:58
Geometry stores the geometry imposed on a mesh.
Definition: Geometry.h:38