mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Only run relperm diagnostics for > 1 phase cases.
This commit is contained in:
parent
2d9f41b1aa
commit
3ddcdf2349
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user