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,
67 Eigen::Array<double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor>
69 const pugi::xml_node& node);
73 Eigen::Array<std::int64_t, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor>
75 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:193
Eigen::Array< std::int64_t, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > read_topology_data(MPI_Comm comm, const hid_t h5_id, const pugi::xml_node &node)
Read Topology data.
Definition: xdmf_mesh.cpp:266
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:140
A Mesh consists of a set of connected and numbered mesh topological entities, and geometry data.
Definition: Mesh.h:47
Eigen::Array< double, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > read_geometry_data(MPI_Comm comm, const hid_t h5_id, const pugi::xml_node &node)
Read Geometry data.
Definition: xdmf_mesh.cpp:225
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:39