mirror of
https://github.com/OPM/opm-upscaling.git
synced 2026-08-27 05:27:10 -05: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:
@@ -288,7 +288,7 @@ try
|
||||
}
|
||||
Opm::SinglePhaseUpscaler spupscaler; // needed to access porosities and cell volumes
|
||||
spupscaler.init(deck, Opm::SinglePhaseUpscaler::Fixed,
|
||||
0.0,0.0, linsolver_tolerance, linsolver_verbosity, linsolver_type, false, linsolver_maxit,
|
||||
0.0, linsolver_tolerance, linsolver_verbosity, linsolver_type, false, linsolver_maxit,
|
||||
linsolver_prolongate_factor, linsolver_smooth_steps);
|
||||
std::vector<double> cellPoreVolumes;
|
||||
cellPoreVolumes.resize(satnums.size(), 0.0);
|
||||
|
||||
Reference in New Issue
Block a user