Extracted configuration of *when* to write restart

The configuration of when to write restart files is quite complex,
involving at least the three keywords RPTSOL, RPTRST and RPTSCHED. This
commit moves that configuration from the IOConfig class to the
RestartConfig class.

At a later stage the RestartConfgig class will be extended with
information of *what* to save in the restart file.
This commit is contained in:
Joakim Hove
2016-07-15 14:15:26 +02:00
parent 148b9b22ea
commit 0069b02e9f
5 changed files with 1434 additions and 1 deletions

View File

@@ -159,6 +159,8 @@ namespace Opm {
bool initOnly() const;
const RestartConfig& restartConfig() const;
void initFirstRFTOutput(const Schedule& schedule);
// Proxy methods forwarding directly to corresponding RestartConfig
bool getWriteRestartFile(size_t timestep) const;
@@ -191,7 +193,6 @@ namespace Opm {
bool nosim,
const std::string& input_path );
void initFirstRFTOutput(const Schedule& schedule);
};