A diagnostic class that writes snapshots at regular intervals. More...
#include <consecutive_snapshots.hpp>
Public Member Functions | |
ConsecutiveSnapshots (Trigger *trigger, Index2FileName *i2fn) | |
Class constructor. More... | |
ConsecutiveSnapshots (Trigger *trigger, Index2FileName *i2fn, const vector< DiagnosticAppendix *> &appendices) | |
Class constructor. More... | |
void | operator() (const hdsim &sim) |
Perform diagnostics. More... | |
A diagnostic class that writes snapshots at regular intervals.
Definition at line 16 of file consecutive_snapshots.hpp.
ConsecutiveSnapshots::ConsecutiveSnapshots | ( | Trigger * | trigger, |
Index2FileName * | i2fn | ||
) |
Class constructor.
trigger | Trigger function |
i2fn | Function for choosing file names |
Definition at line 6 of file consecutive_snapshots.cpp.
ConsecutiveSnapshots::ConsecutiveSnapshots | ( | Trigger * | trigger, |
Index2FileName * | i2fn, | ||
const vector< DiagnosticAppendix *> & | appendices | ||
) |
Class constructor.
trigger | Trigger function |
i2fn | Function for choosing file names |
appendices | Additional data to be written to snapshot |
Definition at line 10 of file consecutive_snapshots.cpp.
|
virtual |
Perform diagnostics.
sim | Hydrodynamic simulation |
Implements DiagnosticFunction.
Definition at line 15 of file consecutive_snapshots.cpp.