mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-13 01:41:55 -06:00
Allow flow to continue with --sched-restart=false
This commit is contained in:
parent
1d2b24f54f
commit
4dfa22e6a2
@ -373,8 +373,6 @@ int main(int argc, char** argv)
|
||||
const bool init_from_restart_file = !EWOMS_GET_PARAM(PreTypeTag, bool, SchedRestart);
|
||||
const auto& init_config = eclipseState->getInitConfig();
|
||||
if (init_config.restartRequested() && init_from_restart_file) {
|
||||
throw std::logic_error("Sorry - the ability to initialize wells and groups from the restart file is currently not ready");
|
||||
|
||||
int report_step = init_config.getRestartStep();
|
||||
const auto& rst_filename = eclipseState->getIOConfig().getRestartFileName( init_config.getRestartRootName(), report_step, false );
|
||||
Opm::EclIO::ERst rst_file(rst_filename);
|
||||
|
Loading…
Reference in New Issue
Block a user