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 const hid_t h5_id,
const std::string path_prefix,
57 const std::span<const std::int32_t>& entities);
61 const hid_t h5_id,
const std::string path_prefix,
70 std::pair<std::vector<double>, std::array<std::size_t, 2>>
72 const pugi::xml_node& node);
80 std::pair<std::vector<std::int64_t>, std::array<std::size_t, 2>>
82 const pugi::xml_node& node);
Geometry stores the geometry imposed on a mesh.
Definition: Geometry.h:28
A Mesh consists of a set of connected and numbered mesh topological entities, and geometry data.
Definition: Mesh.h:33
Topology stores the topology of a mesh, consisting of mesh entities and connectivity (incidence relat...
Definition: Topology.h:44
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:202
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, int cell_dim, const std::span< const std::int32_t > &entities)
Add Topology xml node.
Definition: xdmf_mesh.cpp:20
std::pair< std::vector< double >, std::array< std::size_t, 2 > > read_geometry_data(MPI_Comm comm, const hid_t h5_id, const pugi::xml_node &node)
Read geometry (coordinate) data.
Definition: xdmf_mesh.cpp:235
std::pair< std::vector< std::int64_t >, std::array< std::size_t, 2 > > read_topology_data(MPI_Comm comm, const hid_t h5_id, const pugi::xml_node &node)
Read topology (cell connectivity) data.
Definition: xdmf_mesh.cpp:276
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:149