10#include <dolfinx/common/MPI.h>
11#include <dolfinx/common/types.h>
24template <dolfinx::scalar T, std::
floating_po
int U>
30template <std::
floating_po
int T>
50 VTKFile(MPI_Comm comm,
const std::filesystem::path& filename,
51 const std::string& file_mode);
66 template <std::
floating_po
int U>
83 template <dolfinx::scalar T, std::
floating_po
int U = scalar_value_type_t<T>>
89 std::unique_ptr<pugi::xml_document> _pvd_xml;
91 std::filesystem::path _filename;
A duplicate MPI communicator and manage lifetime of the communicator.
Definition MPI.h:43
This class represents a function in a finite element function space , given by.
Definition Function.h:45
Output of meshes and functions in VTK/ParaView format.
Definition VTKFile.h:47
void write(const mesh::Mesh< U > &mesh, double time=0.0)
Write a mesh to file. Supports arbitrary order Lagrange isoparametric cells.
Definition VTKFile.cpp:750
void close()
Close file.
Definition VTKFile.cpp:718
~VTKFile()
Destructor.
Definition VTKFile.cpp:708
void flush()
Flushes XML files to disk.
Definition VTKFile.cpp:735
A Mesh consists of a set of connected and numbered mesh topological entities, and geometry data.
Definition Mesh.h:23
Finite element method functionality.
Definition assemble_matrix_impl.h:25
Support for file IO.
Definition ADIOS2Writers.h:41
Mesh data structures and algorithms on meshes.
Definition DofMap.h:32