mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
THPRES API updates
This commit is contained in:
parent
337ca0a3ab
commit
dd3fb03286
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user