mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-11-02 20:30:55 -06:00
Only run relperm diagnostics for > 1 phase cases.
This commit is contained in:
1 parent
2d9f41b1aa
commit
3ddcdf2349
1 file changed
+5
-3
@@ -432,9 +432,11 @@ namespace Opm
|
||||
return;
|
||||
}
|
||||
|
||||
// Run relperm diagnostics
|
||||
RelpermDiagnostics diagnostic;
|
||||
diagnostic.diagnosis(eclState(), deck(), this->grid());
|
||||
// Run relperm diagnostics if we have more than one phase.
|
||||
if (FluidSystem::numActivePhases() > 1) {
|
||||
RelpermDiagnostics diagnostic;
|
||||
diagnostic.diagnosis(eclState(), deck(), this->grid());
|
||||
}
|
||||
}
|
||||
|
||||
// Run the simulator.
|
||||
|
||||
Reference in new issue
Block a user