Merge pull request #1286 from blattms/communicate-ebos-solution-in-run

Communicate the ebos solution at the beginning of the run method.
This commit is contained in:
dr-robertk 2017-10-09 13:13:58 +02:00 committed by GitHub
commit 682424a7bf

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;