mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-28 18:21:00 -06:00
Bugfix: make TPFA version of local linearizer work for two-phase runs.
This commit is contained in:
parent
63ea7b29c1
commit
92e9bd5c37
@ -126,6 +126,9 @@ public:
|
||||
storage = 0.0;
|
||||
|
||||
for (unsigned phaseIdx = 0; phaseIdx < numPhases; ++phaseIdx) {
|
||||
if (!FluidSystem::phaseIsActive(phaseIdx)) {
|
||||
continue;
|
||||
}
|
||||
unsigned activeCompIdx = Indices::canonicalToActiveComponentIndex(FluidSystem::solventComponentIndex(phaseIdx));
|
||||
LhsEval surfaceVolume =
|
||||
Toolbox::template decay<LhsEval>(fs.saturation(phaseIdx))
|
||||
|
Loading…
Reference in New Issue
Block a user