Handle combination of threshold_pressure and nnc

The nncs threshold pressures are calculated and appended to the face
threshold pressures
This commit is contained in:
Tor Harald Sandve
2015-12-08 10:56:42 +01:00
parent 99ddc46318
commit e3393c5ee9
8 changed files with 26 additions and 11 deletions

View File

@@ -383,6 +383,8 @@ try
std::map<std::pair<int, int>, double> maxDp;
computeMaxDp(maxDp, deck, eclipseState, grid, state, props, gravity[2]);
std::vector<double> threshold_pressures = thresholdPressures(deck, eclipseState, grid, maxDp);
std::vector<double> threshold_pressures_nnc = thresholdPressuresNNC(eclipseState, geoprops.nnc(), maxDp);
threshold_pressures.insert(threshold_pressures.begin(), threshold_pressures_nnc.begin(), threshold_pressures_nnc.end());
SimulatorFullyImplicitBlackoilSolvent< Grid > simulator(param,
grid,