Change method name -> IOConfig::restartRequested()

This commit is contained in:
Joakim Hove 2016-04-25 16:23:20 +02:00
parent 70e13d1988
commit ead88e9ee4

View File

@ -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();
}
}