mirror of
https://github.com/OPM/opm-upscaling.git
synced 2026-08-27 05:27:10 -05:00
Set default number of smoothing steps for linear solver to 1
The default solver fastAMG use only one smoothing step anyway
This commit is contained in:
@@ -234,6 +234,7 @@ int main(int varnum, char** vararg)
|
||||
options.insert(make_pair("linsolver_verbosity", "0")); // verbosity level for linear solver
|
||||
options.insert(make_pair("linsolver_type", "3")); // type of linear solver: 0 = ILU/BiCGStab, 1 = AMG/CG, 2 = KAMG/CG, 3 = FastAMG/CG
|
||||
options.insert(make_pair("linsolver_prolongate_factor", "1.0")); // Factor to scale the prolongate coarse grid correction,
|
||||
options.insert(make_pair("linsolver_smooth_steps", "1")); // Number of pre and postsmoothing steps for AMG
|
||||
|
||||
/* Check first if there is anything on the command line to look for */
|
||||
if (varnum == 1) {
|
||||
|
||||
Reference in New Issue
Block a user