mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Stay in sync with changes in restartWriter in the eclipseState
This commit is contained in:
parent
0c9c5a031f
commit
cd76816ea5
@ -66,8 +66,8 @@ namespace Opm
|
||||
// Possibly override IOConfig setting (from deck) for how often RESTART files should get written to disk (every N report step)
|
||||
if (Base::param_.has("output_interval")) {
|
||||
const int output_interval = Base::param_.get<int>("output_interval");
|
||||
IOConfigPtr ioConfig = Base::eclipse_state_->getIOConfig();
|
||||
ioConfig->overrideRestartWriteInterval(static_cast<size_t>(output_interval));
|
||||
eclipse_state_->getRestartConfig().overrideRestartWriteInterval( size_t( output_interval ) );
|
||||
|
||||
}
|
||||
|
||||
// Possible to force initialization only behavior (NOSIM).
|
||||
|
Loading…
Reference in New Issue
Block a user