From: Matthias Maier Date: Sun, 2 Jul 2017 21:08:27 +0000 (-0500) Subject: Tests: Remove unused solver_control_lin X-Git-Tag: v9.0.0-rc1~1447^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38a7c8f04a691188a5b121fa15e2885e6535bf95;p=dealii.git Tests: Remove unused solver_control_lin --- diff --git a/tests/arpack/parpack_advection_diffusion_trilinos.cc b/tests/arpack/parpack_advection_diffusion_trilinos.cc index 84bd8c998f..4d11c58187 100644 --- a/tests/arpack/parpack_advection_diffusion_trilinos.cc +++ b/tests/arpack/parpack_advection_diffusion_trilinos.cc @@ -286,8 +286,6 @@ void test () for (unsigned int i=0; i < eigenvalues.size(); i++) eigenfunctions[i] = 0.; - SolverControl solver_control (dof_handler.n_dofs(), 1e-9,/*log_history*/false,/*log_results*/false); - SolverControl solver_control_lin (dof_handler.n_dofs(), 1e-10,/*log_history*/false,/*log_results*/false); static ReductionControl inner_control_c(/*maxiter*/stiffness_matrix.m(), /*tolerance (global)*/ 0.0, @@ -311,6 +309,9 @@ void test () PArpackSolver::largest_real_part, false); + SolverControl solver_control( + dof_handler.n_dofs(), 1e-9, /*log_history*/ false, /*log_results*/ false); + PArpackSolver eigensolver (solver_control, mpi_communicator, additional_data); diff --git a/tests/arpack/step-36_parpack_mf.cc b/tests/arpack/step-36_parpack_mf.cc index 031cdca388..5d3c467695 100644 --- a/tests/arpack/step-36_parpack_mf.cc +++ b/tests/arpack/step-36_parpack_mf.cc @@ -118,9 +118,6 @@ void test () { std::vector > lambda(number_of_eigenvalues); - SolverControl solver_control (dof_handler.n_dofs(), 1e-9,/*log_history*/false,/*log_results*/false); - SolverControl solver_control_lin (dof_handler.n_dofs(), 1e-10,/*log_history*/false,/*log_results*/false); - // set up iterative inverse static ReductionControl inner_control_c(dof_handler.n_dofs(), 0.0, 1.e-13); @@ -138,6 +135,9 @@ void test () PArpackSolver >::largest_magnitude, true); + SolverControl solver_control( + dof_handler.n_dofs(), 1e-9, /*log_history*/ false, /*log_results*/ false); + PArpackSolver> eigensolver( solver_control, mpi_communicator, additional_data); diff --git a/tests/arpack/step-36_parpack_trilinos.cc b/tests/arpack/step-36_parpack_trilinos.cc index 47dce55743..530d5c9a5e 100644 --- a/tests/arpack/step-36_parpack_trilinos.cc +++ b/tests/arpack/step-36_parpack_trilinos.cc @@ -276,9 +276,6 @@ void test () for (unsigned int i=0; i < eigenvalues.size(); i++) eigenfunctions[i] = 0.; - SolverControl solver_control (dof_handler.n_dofs(), 1e-9,/*log_history*/false,/*log_results*/false); - SolverControl solver_control_lin (dof_handler.n_dofs(), 1e-10,/*log_history*/false,/*log_results*/false); - static ReductionControl inner_control_c(/*maxiter*/stiffness_matrix.m(), /*tolerance (global)*/ 0.0, /*reduce (w.r.t. initial)*/ 1.e-13); @@ -301,6 +298,9 @@ void test () PArpackSolver::largest_magnitude, true); + SolverControl solver_control( + dof_handler.n_dofs(), 1e-9, /*log_history*/ false, /*log_results*/ false); + PArpackSolver eigensolver (solver_control, mpi_communicator, additional_data);