mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Change method name -> IOConfig::restartRequested()
This commit is contained in:
parent
70e13d1988
commit
ead88e9ee4
@ -339,7 +339,7 @@ namespace Opm
|
||||
if ( eclWriter_ )
|
||||
{
|
||||
const auto initConfig = eclipseState_->getInitConfig();
|
||||
if (initConfig->getRestartInitiated() && ((initConfig->getRestartStep()) == (timer.currentStepNum()))) {
|
||||
if (initConfig->restartRequested() && ((initConfig->getRestartStep()) == (timer.currentStepNum()))) {
|
||||
std::cout << "Skipping restart write in start of step " << timer.currentStepNum() << std::endl;
|
||||
} else {
|
||||
eclWriter_->writeTimeStep(timer, state, wellState, substep );
|
||||
@ -448,6 +448,6 @@ namespace Opm
|
||||
|
||||
bool BlackoilOutputWriter::isRestart() const {
|
||||
const auto initconfig = eclipseState_->getInitConfig();
|
||||
return initconfig->getRestartInitiated();
|
||||
return initconfig->restartRequested();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user