|
DOLFINx
0.5.1
DOLFINx C++ interface
|
Base class for ADIOS2-based writers. More...
#include <ADIOS2Writers.h>

Public Types | |
| 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. | |
Public Member Functions | |
| void | close () |
| Close the file. | |
Protected Member Functions | |
| 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 |
Base class for ADIOS2-based writers.
|
protected |
Create an ADIOS2-based writer for a mesh.
| [in] | comm | The MPI communicator |
| [in] | filename | Name of output file |
| [in] | tag | The ADIOS2 object name |
| [in] | mesh | The mesh |
|
protected |
Create an ADIOS2-based writer for a list of functions.
| [in] | comm | The MPI communicator |
| [in] | filename | Name of output file |
| [in] | tag | The ADIOS2 object name |
| [in] | u | List of functions |