]> https://gitweb.dealii.org/ - dealii.git/commitdiff
add missing changes to fix bdm tests 1812/head
authorTimo Heister <timo.heister@gmail.com>
Thu, 29 Oct 2015 14:43:40 +0000 (10:43 -0400)
committerTimo Heister <timo.heister@gmail.com>
Thu, 29 Oct 2015 14:49:29 +0000 (10:49 -0400)
the PR #1778 written to fix tests/fe/bdm_[89], also see #1770, did not
include the necessary changes to the .cc files.

tests/fe/bdm_8.cc
tests/fe/bdm_9.cc

index b0b6e34f9fc033f4fbdf11a0d75fb63cea6bac67..de8f98129dc5909551ed8f88799b30303567b0b4 100644 (file)
@@ -108,7 +108,8 @@ main()
   for (unsigned int i=1; i<4; ++i)
     {
       test<2>(i);
-      test<3>(i);
+      if (i<3)
+        test<3>(i);
     }
 
   return 0;
index fde01e73c6ce113a0c53d5561866d935d1ffe390..8a606c6f6a7569a6b86235a848782ca6dfef6c39 100644 (file)
@@ -70,7 +70,7 @@ test (const unsigned int degree)
 
   mass_matrix.print_formatted (logfile, 3, false, 0, " ", 1);
 
-  SolverControl           solver_control (dofs_per_cell,
+  SolverControl           solver_control (3*dofs_per_cell,
                                           1e-8);
   PrimitiveVectorMemory<> vector_memory;
   SolverCG<>              cg (solver_control, vector_memory);
@@ -99,7 +99,8 @@ main()
   for (unsigned int i=1; i<4; ++i)
     {
       test<2>(i);
-      test<3>(i);
+      if (i<3)
+        test<3>(i);
     }
 
   return 0;

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.