Bugfix. enableStorageTerm=false

Shift intensiveQuantities each timestep
This commit is contained in:
Tor Harald Sandve 2018-03-05 14:53:59 +01:00
parent 13b7a4a426
commit 5f33a1a1bc

View File

@ -183,6 +183,7 @@ namespace Opm {
} else {
// set the initial solution.
ebosSimulator_.model().solution( 1 /* timeIdx */ ) = ebosSimulator_.model().solution( 0 /* timeIdx */ );
ebosSimulator_.model().shiftIntensiveQuantityCache(/*numSlots=*/1);
}
// set the timestep size and index in ebos explicitly