mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #611 from bska/fix-self-assignment
Properly Scale Solvent Saturation
This commit is contained in:
commit
be6de85968
@ -632,7 +632,7 @@ public:
|
||||
Scalar St = Sw + Sg + Ssol;
|
||||
assert(St>0.5);
|
||||
Sw=Sw/St;
|
||||
Ssol=Ssol;
|
||||
Ssol=Ssol/St;
|
||||
if (waterEnabled)
|
||||
(*this)[Indices::waterSaturationIdx]= Sw;
|
||||
if (enableSolvent)
|
||||
|
Loading…
Reference in New Issue
Block a user