Revert "Revert "Communicate the ebos solution at the beginning of the run method"

This commit is contained in:
Atgeirr Flø Rasmussen 2017-10-23 12:40:29 +02:00 committed by GitHub
parent 35ff3aded3
commit 32251461e5

View File

@ -159,6 +159,11 @@ public:
ebosSimulator_.model().invalidateIntensiveQuantitiesCache(/*timeIdx=*/0);
}
// Sync the overlap region of the inital solution. It was generated
// from the ReservoirState which has wrong values in the ghost region
// for some models (SPE9, Norne, Model 2)
ebosSimulator_.model().syncOverlap();
// Create timers and file for writing timing info.
Opm::time::StopWatch solver_timer;
Opm::time::StopWatch step_timer;