]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix parpack unit test 4812/head
authorDenis Davydov <davydden@gmail.com>
Sun, 13 Aug 2017 16:57:41 +0000 (18:57 +0200)
committerDenis Davydov <davydden@gmail.com>
Sun, 13 Aug 2017 18:54:02 +0000 (20:54 +0200)
tests/arpack/step-36_parpack_mf_02.cc

index 4b17658e3084a8a7b81b2818c4d882bc804a3ad5..232fff1a913d2922131f59d9be5971067f372d32 100644 (file)
@@ -126,7 +126,7 @@ void test ()
                        solver_c,
                        preconditioner);
 
-    const unsigned int num_arnoldi_vectors = 2*eigenvalues.size() + 10;
+    const unsigned int num_arnoldi_vectors = 2*eigenvalues.size() + 40;
     PArpackSolver<LinearAlgebra::distributed::Vector<double> >::AdditionalData
     additional_data(num_arnoldi_vectors,
                     PArpackSolver<LinearAlgebra::distributed::Vector<double> >::largest_magnitude,
@@ -134,7 +134,7 @@ void test ()
                     2);
 
     SolverControl solver_control(
-      dof_handler.n_dofs(), 1e-9, /*log_history*/ false, /*log_results*/ false);
+      dof_handler.n_dofs(), 1e-10, /*log_history*/ false, /*log_results*/ false);
 
     PArpackSolver<LinearAlgebra::distributed::Vector<double> > eigensolver(
       solver_control, mpi_communicator, additional_data);

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.