Move creating local fipnum array to constructor.

This commit is contained in:
Atgeirr Flø Rasmussen
2017-11-17 15:42:16 +01:00
parent 33833eebe3
commit 353f4a6265

View File

@@ -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