Added SimulationConfig::hasThresholdPressure()

This commit is contained in:
Joakim Hove
2015-08-25 11:45:04 +02:00
parent f7283eb238
commit 451fb97439
3 changed files with 28 additions and 1 deletions

View File

@@ -39,4 +39,9 @@ namespace Opm {
return m_ThresholdPressure;
}
bool SimulationConfig::hasThresholdPressure() const {
return m_ThresholdPressure->size() > 0;
}
} //namespace Opm