|
Stride Reference Manual
1.0
|
#include <SimulatorSetup.h>

Public Member Functions | |
| SimulatorSetup (const ptree &config, string hdf5_file, RunMode run_mode, const unsigned int timestamp_replay) | |
| shared_ptr< Simulator > | getSimulator () |
| unsigned int | getStartDay () const |
Private Member Functions | |
| bool | fileExists (string filename) const |
| Helper function to check if the file with filename actually exists. More... | |
Private Attributes | |
| ptree | m_pt_config |
| string | m_hdf5_file |
| unsigned int | m_timestamp_replay |
| bool | m_hdf5_file_exists |
| RunMode | m_run_mode |
Definition at line 22 of file SimulatorSetup.h.
| stride::SimulatorSetup::SimulatorSetup | ( | const ptree & | config, |
| string | hdf5_file, | ||
| RunMode | run_mode, | ||
| const unsigned int | timestamp_replay | ||
| ) |
Definition at line 16 of file SimulatorSetup.cpp.
References fileExists(), m_hdf5_file, and m_hdf5_file_exists.
| shared_ptr< Simulator > stride::SimulatorSetup::getSimulator | ( | ) |
Definition at line 24 of file SimulatorSetup.cpp.
References stride::SimulatorBuilder::build(), stride::Extend, stride::Initial, m_hdf5_file, m_pt_config, m_run_mode, m_timestamp_replay, and stride::Replay.
|
inline |
Definition at line 29 of file SimulatorSetup.h.
|
private |
Helper function to check if the file with filename actually exists.
Definition at line 52 of file SimulatorSetup.cpp.
Referenced by SimulatorSetup().
|
private |
Definition at line 38 of file SimulatorSetup.h.
Referenced by getSimulator().
|
private |
Definition at line 39 of file SimulatorSetup.h.
Referenced by getSimulator(), and SimulatorSetup().
|
mutableprivate |
Definition at line 40 of file SimulatorSetup.h.
Referenced by getSimulator().
|
private |
Definition at line 41 of file SimulatorSetup.h.
Referenced by SimulatorSetup().
|
private |
Definition at line 42 of file SimulatorSetup.h.
Referenced by getSimulator().