|
DOLFINx
0.2.0
DOLFINx C++ interface
|
9 #include <dolfinx/common/MPI.h>
10 #include <dolfinx/fem/Function.h>
20 namespace dolfinx::function
48 VTKFile(MPI_Comm comm,
const std::string filename,
49 const std::string file_mode);
78 std::reference_wrapper<
const fem::Function<std::complex<double>>>>& u,
82 std::unique_ptr<pugi::xml_document> _pvd_xml;
84 std::string _filename;
Mesh data structures and algorithms on meshes.
Definition: DirichletBC.h:19
This class represents a function in a finite element function space , given by.
Definition: Form.h:23
Support for file IO.
Definition: cells.h:21
A Mesh consists of a set of connected and numbered mesh topological entities, and geometry data.
Definition: Mesh.h:52
A duplicate MPI communicator and manage lifetime of the communicator.
Definition: MPI.h:31
void flush()
Flushes XML files to disk.
Definition: VTKFile.cpp:751
void close()
Close file.
Definition: VTKFile.cpp:737
Output of meshes and functions in VTK/ParaView format. Isoparametric meshes of arbitrary degree are s...
Definition: VTKFile.h:44
VTKFile(MPI_Comm comm, const std::string filename, const std::string file_mode)
Create VTK file.
Definition: VTKFile.cpp:719
~VTKFile()
Destructor.
Definition: VTKFile.cpp:731
void write(const mesh::Mesh &mesh, double time=0.0)
Write mesh to file. Supports arbitrary order Lagrange isoparametric cells.
Definition: VTKFile.cpp:775