Update polymer solver with convergence features from opm-autodiff.

Original patches by Tor Harald Sandve and Markus Blatt.
This commit is contained in:
Atgeirr Flø Rasmussen
2015-05-21 16:29:01 +02:00
parent d7de9894e0
commit 59bd1391a8
2 changed files with 117 additions and 46 deletions

View File

@@ -437,7 +437,9 @@ namespace Opm {
std::array<double,MaxNumPhases+1>& R_sum,
std::array<double,MaxNumPhases+1>& maxCoeff,
std::array<double,MaxNumPhases+1>& B_avg,
int nc) const;
std::vector<double>& maxNormWell,
int nc,
int nw) const;
double dpMaxRel() const { return param_.dp_max_rel_; }
double dsMax() const { return param_.ds_max_; }