From ff2f9a0dfc9c48e16709f894ccf94b0a2feb6764 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Tue, 9 Oct 2018 16:01:26 -0500 Subject: [PATCH] Tests: fe/fe_enriched_color_07 - use a better preconditioner PreconditionSOR does the job here... --- tests/fe/fe_enriched_color_07.cc | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) 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); -- 2.39.5