OpenMPCD
|
Class doing measurements in a CUDA simulation. More...
#include <Instrumentation.hpp>
Public Member Functions | |
Instrumentation (const Simulation *const sim, const unsigned int rngSeed_, const std::string &gitRevision_) | |
The constructor. More... | |
~Instrumentation () | |
The destructor. More... | |
void | measure () |
Performs measurements on MPC fluids and solutes. More... | |
void | setAutosave (const std::string &rundir) |
Sets the autosave flag. More... | |
void | save (const std::string &rundir) const |
Saves the data to the given run directory. More... | |
Class doing measurements in a CUDA simulation.
Definition at line 26 of file Instrumentation.hpp.
CUDA::Instrumentation::Instrumentation | ( | const Simulation *const | sim, |
const unsigned int | rngSeed_, | ||
const std::string & | gitRevision_ | ||
) |
The constructor.
[in] | sim | The simulation to measure. |
[in] | rngSeed_ | The seed for the random number generator. |
[in] | gitRevision_ | A string containing the git revision, if available. |
Definition at line 18 of file Instrumentation.cpp.
CUDA::Instrumentation::~Instrumentation | ( | ) |
The destructor.
Definition at line 104 of file Instrumentation.cpp.
void CUDA::Instrumentation::measure | ( | ) |
Performs measurements on MPC fluids and solutes.
Definition at line 110 of file Instrumentation.cpp.
void CUDA::Instrumentation::save | ( | const std::string & | rundir | ) | const |
Saves the data to the given run directory.
[in] | rundir | The path to the run directory. |
Definition at line 120 of file Instrumentation.cpp.
|
inline |
Sets the autosave flag.
[in] | rundir | The directory to save to. |
Definition at line 58 of file Instrumentation.hpp.