mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Move creating local fipnum array to constructor.
This commit is contained in:
@@ -121,6 +121,7 @@ public:
|
||||
is_parallel_run_ = ( info.communicator().size() > 1 );
|
||||
}
|
||||
#endif
|
||||
createLocalFipnum();
|
||||
}
|
||||
|
||||
/// Run the simulation.
|
||||
@@ -204,8 +205,6 @@ public:
|
||||
SimulatorReport report;
|
||||
SimulatorReport stepReport;
|
||||
|
||||
createLocalFipnum();
|
||||
|
||||
WellModel well_model(ebosSimulator_, model_param_, terminal_output_);
|
||||
if (output_writer_.isRestart()) {
|
||||
well_model.setRestartWellState(prev_well_state); // Neccessary for perfect restarts
|
||||
|
||||
Reference in New Issue
Block a user