mirror of
https://github.com/OPM/opm-upscaling.git
synced 2025-02-25 18:45:23 -06:00
Convert all upscaling programs to new pinch behaviour.
This means that PINCH must be used in the input deck, whereas before, z_tolerance was available as a program parameter (but only for some programs). A benefit is that all programs will now uniformly accept PINCH in the input decks.
This commit is contained in:
@@ -939,7 +939,6 @@ try
|
||||
if (isMaster) cout << "Tesselating grid... ";
|
||||
flush(cout); start = clock();
|
||||
SinglePhaseUpscaler upscaler;
|
||||
double ztol = 0.0;
|
||||
double linsolver_tolerance = atof(options["linsolver_tolerance"].c_str());
|
||||
int linsolver_verbosity = atoi(options["linsolver_verbosity"].c_str());
|
||||
int linsolver_type = atoi(options["linsolver_type"].c_str());
|
||||
@@ -949,7 +948,7 @@ try
|
||||
bool twodim_hack = false;
|
||||
upscaler.init(deck, boundaryCondition,
|
||||
Opm::unit::convert::from(minPerm, Opm::prefix::milli*Opm::unit::darcy),
|
||||
ztol, linsolver_tolerance,
|
||||
linsolver_tolerance,
|
||||
linsolver_verbosity, linsolver_type, twodim_hack,
|
||||
linsolver_maxit, linsolver_prolongate_factor, smooth_steps);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user