28 void setInitFile(
const std::string& filePath) { initialRestartFilePath = filePath; };
64 std::string initialRestartFilePath;
An interface class extending Iterator::Iterant with some file name handling.
virtual void setMetadata(ModelMetadata &meta)=0
Sets the metadata object that will be used within the timesteps.
virtual void stop(const TimePoint &stopTime)=0
void setInitFile(const std::string &filePath)
Sets the path to the initial file for later reference.
virtual void start(const TimePoint &startTime)=0
virtual void writeRestartFile(const std::string &filePath)=0
Writes a restart file containing the current model state to the given file location.
virtual void setData(PrognosticData &data)=0
Sets the data object that will be used within the timesteps.
virtual void init()=0
Initializes the model, based on some environment stored in the implementing class.
virtual void iterate(const TimestepTime &dt)=0
A base class for classes that specify what happens during one timestep.