RestartConfig.hpp
Go to the documentation of this file.
261 All timesteps in the set that are higher or equal to the timestep the RPTRST keyword was set on is written.
263 If in addition FREQUENCY is given (higher than 1), every n'the value of this set are to be written.
265 If the setting BASIC=4 or BASIC=5 is set on a timestep that is a member of the set "first timestep of
266 each year" / "First timestep of each month", then the timestep that is freq-1 timesteps (within the set) from
267 this start timestep will be written, and then every n'the timestep (within the set) from this one will be written.
269 If the setting BASIC=4 or BASIC=5 is set on a timestep that is not a member of the list "first timestep of
270 each year" / "First timestep of each month", then the list is searched for the closest timestep that are
271 larger than the timestep that introduced the setting, and then; same as above - the timestep that is freq-1
272 timesteps from this one (within the set) will be written, and then every n'the timestep (within the set) from
281 If no keywords for config of writing restart files have been handled; no restart files are written.
333 RestartConfig( const TimeMap& time_map, const Deck&, const ParseContext& parseContext, T&& errors );
334 RestartConfig( const TimeMap& time_map, const Deck&, const ParseContext& parseContext, ErrorGuard& errors );
345 void handleSolutionSection(const SOLUTIONSection& solutionSection, const ParseContext& parseContext, ErrorGuard& errors);
349 static std::string getRestartFileName(const std::string& restart_base, int report_step, bool unified, bool fmt_file);
378 void handleScheduleSection( const SCHEDULESection& schedule, const ParseContext& parseContext, ErrorGuard& errors);
Definition: DeckKeyword.hpp:38 Definition: Deck.hpp:115 Definition: DynamicState.hpp:58 void serializeOp(Serializer &serializer) Definition: DynamicState.hpp:235 Definition: ErrorGuard.hpp:29 Definition: ParseContext.hpp:84 Definition: RestartConfig.hpp:326 void overrideRestartWriteInterval(size_t interval) void serializeOp(Serializer &serializer) Definition: RestartConfig.hpp:354 int getFirstRestartStep() const RestartConfig(const TimeMap &time_map, const Deck &) const std::map< std::string, int > & getRestartKeywords(size_t timestep) const RestartSchedule getNode(size_t timestep) const bool operator==(const RestartConfig &data) const static std::string getRestartFileName(const std::string &restart_base, int report_step, bool unified, bool fmt_file) RestartConfig()=default RestartConfig(const TimeMap &time_map, const Deck &, const ParseContext &parseContext, ErrorGuard &errors) void handleSolutionSection(const SOLUTIONSection &solutionSection, const ParseContext &parseContext, ErrorGuard &errors) static RestartConfig serializeObject() int getKeyword(const std::string &keyword, size_t timeStep) const bool getWriteRestartFile(size_t timestep, bool log=true) const RestartConfig(const TimeMap &time_map, const Deck &, const ParseContext &parseContext, T &&errors) void setWriteInitialRestartFile(bool writeInitialRestartFile) Definition: RestartConfig.hpp:287 bool rptsched_restart_set Definition: RestartConfig.hpp:322 bool operator==(const RestartSchedule &rhs) const RestartSchedule()=default bool operator!=(const RestartSchedule &rhs) const void serializeOp(Serializer &serializer) Definition: RestartConfig.hpp:309 RestartSchedule(size_t step, size_t b, size_t freq) static RestartSchedule serializeObject() bool writeRestartFile(size_t timestep, const TimeMap &timemap) const RestartSchedule(size_t sched_restart) Definition: DeckSection.hpp:115 Definition: DeckSection.hpp:103 Definition: Serializer.hpp:38 Definition: TimeMap.hpp:40 UDAKeyword keyword(UDAControl control) Definition: A.hpp:4 |