mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-29 10:40:59 -06:00
Include nncs in threshold pressures.
This was left out when rebasing (it had been introduced in the flow etc. mains). This also fixes a bug: the nnc thresholds should be inserted at the end of the vector to be consistent with the operators, not at the beginning.
This commit is contained in:
parent
78dbb79ea4
commit
dc4274f4a2
@ -477,6 +477,8 @@ namespace Opm
|
||||
std::map<std::pair<int, int>, double> maxDp;
|
||||
computeMaxDp(maxDp, deck_, eclipse_state_, grid_init_->grid(), state_, props, gravity_[2]);
|
||||
threshold_pressures_ = thresholdPressures(deck_, eclipse_state_, grid, maxDp);
|
||||
std::vector<double> threshold_pressures_nnc = thresholdPressuresNNC(eclipse_state_, geoprops_->nnc(), maxDp);
|
||||
threshold_pressures_.insert(threshold_pressures_.end(), threshold_pressures_nnc.begin(), threshold_pressures_nnc.end());
|
||||
|
||||
// The capillary pressure is scaled in fluidprops_ to match the scaled capillary pressure in props.
|
||||
if (deck_->hasKeyword("SWATINIT")) {
|
||||
|
Loading…
Reference in New Issue
Block a user