From 459ca5ec41afb45d3b00d5fc29c8148e8e756a57 Mon Sep 17 00:00:00 2001 From: Marc Fehling Date: Tue, 10 Sep 2019 21:46:05 +0200 Subject: [PATCH] p:d:step-27: Adjusted AdditionalData object for Trilinos. --- tests/mpi/trilinos_step-27.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/mpi/trilinos_step-27.cc b/tests/mpi/trilinos_step-27.cc index 44d553f904..ef0886d92b 100644 --- a/tests/mpi/trilinos_step-27.cc +++ b/tests/mpi/trilinos_step-27.cc @@ -342,8 +342,11 @@ namespace Step27 // Loss of precision with a factor of 1e-12 with Trilinos LA::SolverCG cg(solver_control); - LA::MPI::PreconditionAMG preconditioner; - preconditioner.initialize(system_matrix); + LA::MPI::PreconditionAMG preconditioner; + LA::MPI::PreconditionAMG::AdditionalData data; + data.elliptic = true; + data.higher_order_elements = true; + preconditioner.initialize(system_matrix, data); check_solver_within_range(cg.solve(system_matrix, completely_distributed_solution, -- 2.39.5