OPM-212: Added method for overriding write of restart file interval to IOConfig

This commit is contained in:
chflo
2015-06-11 16:09:12 +02:00
parent 20170f888b
commit 7aea4129b3
2 changed files with 34 additions and 10 deletions

View File

@@ -43,17 +43,27 @@ namespace Opm {
bool getFMTOUT() const;
const std::string& getEclipseInputPath() const;
void setEclipseInputPath(const std::string& path);
void handleRPTRSTBasic(TimeMapConstPtr timemap, size_t timestep, size_t basic, size_t frequency=1, bool update_default=false);
bool overrideRestartWriteInterval(size_t interval);
void handleRPTRSTBasic(TimeMapConstPtr timemap,
size_t timestep,
size_t basic,
size_t frequency = 1,
bool update_default = false,
bool reset_global = false);
void handleRPTSCHEDRestart(TimeMapConstPtr timemap, size_t timestep, size_t restart);
void handleSolutionSection(TimeMapConstPtr timemap, std::shared_ptr<const SOLUTIONSection> solutionSection);
void handleGridSection(std::shared_ptr<const GRIDSection> gridSection);
void handleRunspecSection(std::shared_ptr<const RUNSPECSection> runspecSection);
private:
void initRestartOutputConfig(TimeMapConstPtr timemap);
bool getWriteRestartFileFrequency(size_t timestep,
size_t start_index,