bug fixes.

This commit is contained in:
Kai Bao 2021-12-08 22:32:59 +01:00 committed by Trine Mykkeltvedt
parent 8b9b155d2b
commit ec7a73a118

View File

@ -663,7 +663,7 @@ protected:
newtonX[compIdx] = Opm::getValue(fluidState.moleFraction(oilPhaseIdx, compIdx));
newtonX[compIdx + numMiscibleComponents] = Opm::getValue(fluidState.moleFraction(gasPhaseIdx, compIdx));
}
newtonX[numMiscibleComponents*numMiscibleComponents] = Opm::getValue(L);
newtonX[numMisciblePhases*numMiscibleComponents] = Opm::getValue(L);
//
// Main Newton loop