mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
fixed issue with use of cachedVariables in initialization fase
This commit is contained in:
parent
a81f80f4fb
commit
7e63dc3096
@ -1454,7 +1454,7 @@ public:
|
||||
*/
|
||||
std::shared_ptr<const EclMaterialLawManager> materialLawManager() const
|
||||
{ return materialLawManager_; }
|
||||
|
||||
|
||||
template <class FluidState>
|
||||
void updateRelperms(
|
||||
std::array<Evaluation,numPhases> &mobility,
|
||||
@ -1735,6 +1735,7 @@ public:
|
||||
*/
|
||||
void initialSolutionApplied()
|
||||
{
|
||||
this->model().invalidateAndUpdateIntensiveQuantities(/*timeIdx*/0);
|
||||
// initialize the wells. Note that this needs to be done after initializing the
|
||||
// intrinsic permeabilities and the after applying the initial solution because
|
||||
// the well model uses these...
|
||||
|
Loading…
Reference in New Issue
Block a user