#include <diagnostic.hpp>
Diagnostic::Diagnostic |
( |
| ) |
|
|
inline |
void Diagnostic::close_stream |
( |
| ) |
|
|
inline |
Closes the ADIOS2 stream for writing diagnostics.
- Returns
- void
void Diagnostic::end_write_step |
( |
| ) |
|
|
inline |
int Diagnostic::get_period |
( |
| ) |
const |
|
inline |
bool Diagnostic::has_been_triggered |
( |
int |
step | ) |
|
|
inline |
void Diagnostic::init |
( |
const std::string & |
name, |
|
|
int |
period, |
|
|
int |
first_step = -1 |
|
) |
| |
|
inline |
bool Diagnostic::is_first_step |
( |
| ) |
|
|
inline |
bool Diagnostic::is_triggered |
( |
int |
step | ) |
|
|
inline |
void Diagnostic::open_stream |
( |
const std::string & |
filename, |
|
|
const XGC_IO_Mode & |
mode |
|
) |
| |
|
inline |
Opens the ADIOS2 stream to write diagnostics.
- Parameters
-
[in] | filename | Name of the file to be written to by this stream |
[in] | mode | Write mode (new or append) |
- Returns
- void
void Diagnostic::start_write_step |
( |
| ) |
|
|
inline |
void Diagnostic::write |
( |
const XGC_IO & |
xgc_io | ) |
|
|
inline |
The documentation for this class was generated from the following file:
- /u/gitlab-xgc/builds/YGMz2TJ8/0/xgc/XGC-Devel/XGC_core/cpp/diagnostic.hpp