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);
54 void add_topology_data(MPI_Comm comm, pugi::xml_node& xml_node,
55 const hid_t h5_id,
const std::string path_prefix,
56 const mesh::Topology& topology,
57 const mesh::Geometry& geometry,
const int cell_dim,
58 const std::vector<std::int32_t>& active_entities);
61 void add_geometry_data(MPI_Comm comm, pugi::xml_node& xml_node,
62 const hid_t h5_id,
const std::string path_prefix,
63 const mesh::Geometry& geometry);
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);