Output of meshes and functions compatible with the Fides Paraview reader, see https://fides.readthedocs.io/en/latest/paraview/paraview.html.
More...
#include <ADIOS2Writers.h>
|
using | Fdr = fem::Function< double > |
| Typedefs.
|
|
using | Fdc = fem::Function< std::complex< double > > |
| Typedefs.
|
|
using | U = std::vector< std::variant< std::shared_ptr< const Fdr >, std::shared_ptr< const Fdc > > > |
| Typedefs.
|
|
| ADIOS2Writer (MPI_Comm comm, const std::filesystem::path &filename, const std::string &tag, std::shared_ptr< const mesh::Mesh > mesh) |
| Create an ADIOS2-based writer for a mesh. More...
|
|
| ADIOS2Writer (MPI_Comm comm, const std::filesystem::path &filename, const std::string &tag, const U &u) |
| Create an ADIOS2-based writer for a list of functions. More...
|
|
| ADIOS2Writer (ADIOS2Writer &&writer)=default |
| Move constructor.
|
|
| ADIOS2Writer (const ADIOS2Writer &)=delete |
| Copy constructor.
|
|
| ~ADIOS2Writer () |
| Destructor.
|
|
ADIOS2Writer & | operator= (ADIOS2Writer &&writer)=default |
| Move assignment.
|
|
ADIOS2Writer & | operator= (const ADIOS2Writer &)=delete |
|
Output of meshes and functions compatible with the Fides Paraview reader, see https://fides.readthedocs.io/en/latest/paraview/paraview.html.
◆ FidesWriter() [1/2]
FidesWriter |
( |
MPI_Comm |
comm, |
|
|
const std::filesystem::path & |
filename, |
|
|
std::shared_ptr< const mesh::Mesh > |
mesh |
|
) |
| |
Create Fides writer for a mesh.
- Parameters
-
[in] | comm | The MPI communicator to open the file on |
[in] | filename | Name of output file |
[in] | mesh | The mesh. The mesh must a degree 1 mesh. |
- Note
- The mesh geometry can be updated between write steps but the topology should not be changed between write steps
◆ FidesWriter() [2/2]
Create Fides writer for list of functions.
- Parameters
-
[in] | comm | The MPI communicator |
[in] | filename | Name of output file |
[in] | u | List of functions. The functions must (1) share the same mesh (degree 1) and (2) be degree 1 Lagrange. |
- Note
- All functions in
u
must share the same Mesh
◆ write()
Write data with a given time.
- Parameters
-
The documentation for this class was generated from the following files:
- /build/fenics-dolfinx-7OjVUT/fenics-dolfinx-0.4.1/cpp/dolfinx/io/ADIOS2Writers.h
- /build/fenics-dolfinx-7OjVUT/fenics-dolfinx-0.4.1/cpp/dolfinx/io/ADIOS2Writers.cpp