#include <adios2stream.hpp>
Definition at line 47 of file adios2stream.hpp.
◆ data_type
◆ mode
Print and Save modes, deferred is done at Close or EndStep, sync is immediate
Definition at line 64 of file adios2stream.hpp.
◆ openmode
◆ adios2stream() [1/2]
mfem::adios2stream::adios2stream |
( |
const std::string & |
name, |
|
|
const openmode |
mode, |
|
|
MPI_Comm |
comm, |
|
|
const std::string |
engine_type = "BPFile" |
|
) |
| |
adios2stream MPI constructor, allows for passing parameters in source code (compile-time) only.
- Parameters
-
- Exceptions
-
std::invalid_argument | (user input error) or std::runtime_error (system error) |
Definition at line 114 of file adios2stream.cpp.
◆ adios2stream() [2/2]
mfem::adios2stream::adios2stream |
( |
const std::string & |
name, |
|
|
const openmode |
mode, |
|
|
const std::string |
engine_type = "BPFile" |
|
) |
| |
adios2stream Non-MPI serial constructor, allows for passing parameters in source code (compile-time) only.
- Parameters
-
- Exceptions
-
std::invalid_argument | (user input error) or std::runtime_error (system error) |
Definition at line 124 of file adios2stream.cpp.
◆ ~adios2stream()
mfem::adios2stream::~adios2stream |
( |
| ) |
|
|
virtual |
calls Close if stream is valid basically follows C++ RAII
Definition at line 135 of file adios2stream.cpp.
◆ BeginStep()
void mfem::adios2stream::BeginStep |
( |
| ) |
|
◆ Close()
void mfem::adios2stream::Close |
( |
| ) |
|
◆ CurrentStep()
size_t mfem::adios2stream::CurrentStep |
( |
| ) |
const |
Return the current step between BeginStep and EndStep
Definition at line 203 of file adios2stream.cpp.
◆ EndStep()
void mfem::adios2stream::EndStep |
( |
| ) |
|
Ends the current step, by default transports the data
Definition at line 171 of file adios2stream.cpp.
◆ Print()
Called from friend class Mesh (which is called from ParMesh)
- Parameters
-
mesh | input Mesh object to print |
print_mode | sync: one at a time, deferred: collected (pre-fetch) |
Definition at line 226 of file adios2stream.cpp.
◆ Save()
void mfem::adios2stream::Save |
( |
const GridFunction & |
grid_function, |
|
|
const std::string & |
variable_name, |
|
|
const data_type |
type |
|
) |
| |
|
protected |
◆ SetCycle()
void mfem::adios2stream::SetCycle |
( |
const int |
cycle | ) |
|
Associates a current time step (cycle) with the current I/O step as CYCLE variable
- Parameters
-
Definition at line 192 of file adios2stream.cpp.
◆ SetParameter()
void mfem::adios2stream::SetParameter |
( |
const std::string |
key, |
|
|
const std::string |
value |
|
) |
| |
|
noexcept |
◆ SetParameters()
void mfem::adios2stream::SetParameters |
( |
const std::map< std::string, std::string > & |
parameters = std::map<std::string, std::string>() | ) |
|
◆ SetRefinementLevel()
void mfem::adios2stream::SetRefinementLevel |
( |
const int |
level | ) |
|
|
noexcept |
◆ SetTime()
void mfem::adios2stream::SetTime |
( |
const double |
time | ) |
|
Associates a physical time with the current I/O step as TIME variable
- Parameters
-
Definition at line 185 of file adios2stream.cpp.
◆ ADIOS2DataCollection
◆ GridFunction
◆ Mesh
◆ Vector
The documentation for this class was generated from the following files: