From: Matthias Maier Date: Tue, 9 Oct 2018 21:01:26 +0000 (-0500) Subject: Tests: fe/fe_enriched_color_07 - use a better preconditioner X-Git-Tag: v9.1.0-rc1~644^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7317%2Fhead;p=dealii.git Tests: fe/fe_enriched_color_07 - use a better preconditioner PreconditionSOR does the job here... --- diff --git a/tests/fe/fe_enriched_color_07.cc b/tests/fe/fe_enriched_color_07.cc index 8170d64d97..1159cea30a 100644 --- a/tests/fe/fe_enriched_color_07.cc +++ b/tests/fe/fe_enriched_color_07.cc @@ -1573,16 +1573,7 @@ LaplaceProblem::solve() SolverControl solver_control(prm.max_iterations, prm.tolerance, false, false); PETScWrappers::SolverCG cg(solver_control, mpi_communicator); - // choose preconditioner -#define amg -#ifdef amg - PETScWrappers::PreconditionBoomerAMG::AdditionalData additional_data; - additional_data.symmetric_operator = true; - PETScWrappers::PreconditionBoomerAMG preconditioner(system_matrix, - additional_data); -#else - PETScWrappers::PreconditionJacobi preconditioner(system_matrix); -#endif + PETScWrappers::PreconditionSOR preconditioner(system_matrix); cg.solve(system_matrix, solution, system_rhs, preconditioner);