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:
Lars Vingli Odsæter
2013-07-15 11:51:33 +02:00
parent f128e71413
commit f21b43879b
6 changed files with 6 additions and 4 deletions
+1
View File
@@ -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) {