mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-12 08:54:53 -05:00
THPRES API updates
This commit is contained in:
1 parent
337ca0a3ab
commit
dd3fb03286
1 file changed
+2
-2
@@ -325,7 +325,7 @@ void computeMaxDp(std::map<std::pair<int, int>, double>& maxDp,
|
||||
{
|
||||
const SimulationConfig& simulationConfig = eclipseState.getSimulationConfig();
|
||||
std::vector<double> thpres_vals;
|
||||
if (simulationConfig.hasThresholdPressure()) {
|
||||
if (simulationConfig.useThresholdPressure()) {
|
||||
const ThresholdPressure& thresholdPressure = simulationConfig.getThresholdPressure();
|
||||
const auto& eqlnum = eclipseState.get3DProperties().getIntGridProperty("EQLNUM");
|
||||
const auto& eqlnumData = eqlnum.getData();
|
||||
@@ -386,7 +386,7 @@ void computeMaxDp(std::map<std::pair<int, int>, double>& maxDp,
|
||||
{
|
||||
const SimulationConfig& simulationConfig = eclipseState.getSimulationConfig();
|
||||
std::vector<double> thpres_vals;
|
||||
if (simulationConfig.hasThresholdPressure()) {
|
||||
if (simulationConfig.useThresholdPressure()) {
|
||||
const ThresholdPressure& thresholdPressure = simulationConfig.getThresholdPressure();
|
||||
const auto& eqlnum = eclipseState.get3DProperties().getIntGridProperty("EQLNUM");
|
||||
const auto& eqlnumData = eqlnum.getData();
|
||||
|
||||
Reference in new issue
Block a user