XDMFFile.h¶
Note
The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.
-
class
XDMFFile
¶ Parent class(es)
This class supports the output of meshes and functions in XDMF (http://www.xdmf.org) format. It creates an XML file that describes the data and points to a HDF5 file that stores the actual problem data. Output of data in parallel is supported.
XDMF is not suitable for checkpointing as it may decimate some data.
-
explicit
XDMFFile
(const std::string filename)¶ Constructor
-
void
operator<<
(const Mesh &mesh)¶ Save a mesh for visualisation, with e.g. ParaView. Creates a HDF5 file to store the mesh, and a related XDMF file with metadata.
-
void
operator<<
(const MeshFunction<bool> &meshfunction)¶ Save MeshFunction to file
-
void
operator>>
(MeshFunction<bool> &meshfunction)¶ Read first MeshFunction from file
-
explicit