]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Relax fe/*projection_01 tests 4988/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Tue, 29 Aug 2017 15:40:18 +0000 (17:40 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Tue, 29 Aug 2017 15:44:47 +0000 (17:44 +0200)
tests/fe/abf_projection_01.cc
tests/fe/abf_projection_01.output
tests/fe/deformed_projection.h
tests/fe/fe_sys_projection_01.cc
tests/fe/fe_sys_projection_01.output
tests/fe/q_bubbles_projection_01.cc
tests/fe/q_bubbles_projection_01.output
tests/fe/q_iso_q1_projection_01.cc
tests/fe/q_iso_q1_projection_01.output
tests/fe/rt_projection_01.cc
tests/fe/rt_projection_01.output

index e80407ec655034749105f36d0eea46c715f8d200..e570e0e8658bca7bb3c3de26847c788f7328bc14 100644 (file)
@@ -28,5 +28,6 @@ char logname[] = "output";
 void test ()
 {
   FE_ABF<2> fe (0);
-  check (fe);
+  const std::array<unsigned int,3> min_convergence_steps = {{8,7,7}};
+  check (fe, min_convergence_steps);
 }
index 0c18495c7063517e59a3517b4e8a9fd04c234bd2..d46c52b4cbb95e6eb0b2bb544f64dddc1669f263 100644 (file)
@@ -3,44 +3,43 @@ DEAL::Dofs/cell 6Dofs/face 1
 DEAL::Dofs total 6
 DEAL::MM created
 DEAL::RHS created
-DEAL:cg::Starting value 1.99
-DEAL:cg::Convergence step 9 value 0
+DEAL::Solver stopped within 8 - 10 iterations
 # This file was generated by the deal.II library.
 
 
 #
 # For a description of the GNUPLOT format see the GNUPLOT manual.
 #
-# <x> <y> <solution_0> <solution_1>
-0.00 0.00 1.00 1.00
-0.25 0.00 1.00 1.00
-0.50 0.00 1.00 1.00
-0.75 0.00 1.00 1.00
-1.00 0.00 1.00 1.00
-
-0.15 0.12 1.00 1.00
-0.36 0.12 1.00 1.00
-0.57 0.12 1.00 1.00
-0.79 0.12 1.00 1.00
-1.00 0.12 1.00 1.00
-
-0.30 0.25 1.00 1.00
-0.47 0.25 1.00 1.00
-0.65 0.25 1.00 1.00
-0.82 0.25 1.00 1.00
-1.00 0.25 1.00 1.00
-
-0.45 0.38 1.00 1.00
-0.59 0.38 1.00 1.00
-0.73 0.38 1.00 1.00
-0.86 0.38 1.00 1.00
-1.00 0.38 1.00 1.00
-
-0.60 0.50 1.00 1.00
-0.70 0.50 1.00 1.00
-0.80 0.50 1.00 1.00
-0.90 0.50 1.00 1.00
-1.00 0.50 1.00 1.00
+# <x> <y> <solution_0> <solution_1> 
+0.00 0.00 1.00 1.00 
+0.25 0.00 1.00 1.00 
+0.50 0.00 1.00 1.00 
+0.75 0.00 1.00 1.00 
+1.00 0.00 1.00 1.00 
+
+0.15 0.12 1.00 1.00 
+0.36 0.12 1.00 1.00 
+0.57 0.12 1.00 1.00 
+0.79 0.12 1.00 1.00 
+1.00 0.12 1.00 1.00 
+
+0.30 0.25 1.00 1.00 
+0.47 0.25 1.00 1.00 
+0.65 0.25 1.00 1.00 
+0.82 0.25 1.00 1.00 
+1.00 0.25 1.00 1.00 
+
+0.45 0.38 1.00 1.00 
+0.59 0.38 1.00 1.00 
+0.73 0.38 1.00 1.00 
+0.86 0.38 1.00 1.00 
+1.00 0.38 1.00 1.00 
+
+0.60 0.50 1.00 1.00 
+0.70 0.50 1.00 1.00 
+0.80 0.50 1.00 1.00 
+0.90 0.50 1.00 1.00 
+1.00 0.50 1.00 1.00 
 
 
 DEAL::-0.10
@@ -50,44 +49,43 @@ DEAL::0.40
 DEAL::Dofs total 6
 DEAL::MM created
 DEAL::RHS created
-DEAL:cg::Starting value 1.19
-DEAL:cg::Convergence step 8 value 0
+DEAL::Solver stopped within 7 - 9 iterations
 # This file was generated by the deal.II library.
 
 
 #
 # For a description of the GNUPLOT format see the GNUPLOT manual.
 #
-# <x> <y> <solution_0> <solution_1>
-0.60 0.50 1.00 1.00
-0.70 0.50 1.00 1.00
-0.80 0.50 1.00 1.00
-0.90 0.50 1.00 1.00
-1.00 0.50 1.00 1.00
-
-0.57 0.62 1.00 1.00
-0.68 0.62 1.00 1.00
-0.79 0.62 1.00 1.00
-0.89 0.62 1.00 1.00
-1.00 0.62 1.00 1.00
-
-0.55 0.75 1.00 1.00
-0.66 0.75 1.00 1.00
-0.78 0.75 1.00 1.00
-0.89 0.75 1.00 1.00
-1.00 0.75 1.00 1.00
-
-0.53 0.88 1.00 1.00
-0.64 0.88 1.00 1.00
-0.76 0.88 1.00 1.00
-0.88 0.88 1.00 1.00
-1.00 0.88 1.00 1.00
-
-0.50 1.00 1.00 1.00
-0.62 1.00 1.00 1.00
-0.75 1.00 1.00 1.00
-0.88 1.00 1.00 1.00
-1.00 1.00 1.00 1.00
+# <x> <y> <solution_0> <solution_1> 
+0.60 0.50 1.00 1.00 
+0.70 0.50 1.00 1.00 
+0.80 0.50 1.00 1.00 
+0.90 0.50 1.00 1.00 
+1.00 0.50 1.00 1.00 
+
+0.57 0.62 1.00 1.00 
+0.68 0.62 1.00 1.00 
+0.79 0.62 1.00 1.00 
+0.89 0.62 1.00 1.00 
+1.00 0.62 1.00 1.00 
+
+0.55 0.75 1.00 1.00 
+0.66 0.75 1.00 1.00 
+0.78 0.75 1.00 1.00 
+0.89 0.75 1.00 1.00 
+1.00 0.75 1.00 1.00 
+
+0.53 0.88 1.00 1.00 
+0.64 0.88 1.00 1.00 
+0.76 0.88 1.00 1.00 
+0.88 0.88 1.00 1.00 
+1.00 0.88 1.00 1.00 
+
+0.50 1.00 1.00 1.00 
+0.62 1.00 1.00 1.00 
+0.75 1.00 1.00 1.00 
+0.88 1.00 1.00 1.00 
+1.00 1.00 1.00 1.00 
 
 
 DEAL::0.60
@@ -97,44 +95,43 @@ DEAL::0.50
 DEAL::Dofs total 6
 DEAL::MM created
 DEAL::RHS created
-DEAL:cg::Starting value 1.99
-DEAL:cg::Convergence step 8 value 0
+DEAL::Solver stopped within 7 - 9 iterations
 # This file was generated by the deal.II library.
 
 
 #
 # For a description of the GNUPLOT format see the GNUPLOT manual.
 #
-# <x> <y> <solution_0> <solution_1>
-0.00 0.00 1.00 1.00
-0.15 0.12 1.00 1.00
-0.30 0.25 1.00 1.00
-0.45 0.38 1.00 1.00
-0.60 0.50 1.00 1.00
-
-0.00 0.25 1.00 1.00
-0.14 0.34 1.00 1.00
-0.29 0.44 1.00 1.00
-0.43 0.53 1.00 1.00
-0.57 0.62 1.00 1.00
-
-0.00 0.50 1.00 1.00
-0.14 0.56 1.00 1.00
-0.28 0.62 1.00 1.00
-0.41 0.69 1.00 1.00
-0.55 0.75 1.00 1.00
-
-0.00 0.75 1.00 1.00
-0.13 0.78 1.00 1.00
-0.26 0.81 1.00 1.00
-0.39 0.84 1.00 1.00
-0.53 0.88 1.00 1.00
-
-0.00 1.00 1.00 1.00
-0.12 1.00 1.00 1.00
-0.25 1.00 1.00 1.00
-0.38 1.00 1.00 1.00
-0.50 1.00 1.00 1.00
+# <x> <y> <solution_0> <solution_1> 
+0.00 0.00 1.00 1.00 
+0.15 0.12 1.00 1.00 
+0.30 0.25 1.00 1.00 
+0.45 0.38 1.00 1.00 
+0.60 0.50 1.00 1.00 
+
+0.00 0.25 1.00 1.00 
+0.14 0.34 1.00 1.00 
+0.29 0.44 1.00 1.00 
+0.43 0.53 1.00 1.00 
+0.57 0.62 1.00 1.00 
+
+0.00 0.50 1.00 1.00 
+0.14 0.56 1.00 1.00 
+0.28 0.62 1.00 1.00 
+0.41 0.69 1.00 1.00 
+0.55 0.75 1.00 1.00 
+
+0.00 0.75 1.00 1.00 
+0.13 0.78 1.00 1.00 
+0.26 0.81 1.00 1.00 
+0.39 0.84 1.00 1.00 
+0.53 0.88 1.00 1.00 
+
+0.00 1.00 1.00 1.00 
+0.12 1.00 1.00 1.00 
+0.25 1.00 1.00 1.00 
+0.38 1.00 1.00 1.00 
+0.50 1.00 1.00 1.00 
 
 
 DEAL::1.00
index bb1c41a9d2df3f71be9fd761ba51eae00571b7cb..0e4b52057546c7bf4d108bdbc78af451946971d9 100644 (file)
@@ -476,6 +476,7 @@ void project (const Mapping<dim>       &mapping,
               const Quadrature<dim>    &quadrature,
               const Function<dim>      &function,
               Vector<double>           &vec,
+              const unsigned int        min_convergence_steps,
               const bool                enforce_zero_boundary = false,
               const Quadrature<dim-1>  & = QGauss<dim-1>(2),
               const bool                project_to_boundary_first = false)
@@ -582,7 +583,9 @@ void project (const Mapping<dim>       &mapping,
   PreconditionSSOR<> prec;
   prec.initialize(mass_matrix, 1.2);
   // solve
-  cg.solve (mass_matrix, vec, tmp, prec);
+  check_solver_within_range(cg.solve(mass_matrix,vec,tmp,prec),
+                            control.last_step(),
+                            min_convergence_steps, min_convergence_steps+2);
 
   // distribute solution
   constraints.distribute (vec);
@@ -701,7 +704,7 @@ int main (int /*argc*/, char **/*argv*/)
 
 
 
-void check (const FiniteElement<2> &fe)
+void check (const FiniteElement<2> &fe, const std::array<unsigned int,3> &min_convergence_steps)
 {
   Triangulation<2> tria_test;
   DoFHandler<2> *dof_handler;
@@ -733,7 +736,7 @@ void check (const FiniteElement<2> &fe)
 
       project (map_default, *dof_handler, hn_constraints,
                QGauss<2> (6), TestMap1<2>(2),
-               solution);
+               solution, min_convergence_steps[elm]);
 
       // Test the core functionality
       DataOut<2> *data_out = new DataOut<2>;
index 51c1cc61e236eb35cdbbcd99e9b825ad75a1e4f1..bb8d19cd44e660b404bb4ba12e56dff0707aff26 100644 (file)
@@ -29,5 +29,6 @@ char logname[] = "output";
 void test ()
 {
   FESystem<2> fe (FE_Q<2>(3), 2);
-  check (fe);
+  const std::array<unsigned int,3> min_convergence_steps = {{12,12,12}};
+  check (fe, min_convergence_steps);
 }
index 4ce08a998b0d08b3712b1d9f966e6372c0f933fc..1aa2c6e10733d677f78237f1c7ce1ee3c2c39819 100644 (file)
@@ -3,8 +3,7 @@ DEAL::Dofs/cell 32Dofs/face 8
 DEAL::Dofs total 32
 DEAL::MM created
 DEAL::RHS created
-DEAL:cg::Starting value 0.18
-DEAL:cg::Convergence step 13 value 0
+DEAL::Solver stopped within 12 - 14 iterations
 # This file was generated by the deal.II library.
 
 
@@ -50,8 +49,7 @@ DEAL::1.00
 DEAL::Dofs total 32
 DEAL::MM created
 DEAL::RHS created
-DEAL:cg::Starting value 0.12
-DEAL:cg::Convergence step 13 value 0
+DEAL::Solver stopped within 12 - 14 iterations
 # This file was generated by the deal.II library.
 
 
@@ -97,8 +95,7 @@ DEAL::1.00
 DEAL::Dofs total 32
 DEAL::MM created
 DEAL::RHS created
-DEAL:cg::Starting value 0.22
-DEAL:cg::Convergence step 13 value 0
+DEAL::Solver stopped within 12 - 14 iterations
 # This file was generated by the deal.II library.
 
 
index e3ee32defcb37be196e52da08c3b982555c926f3..92e3dfd58600ba835216cef778189f7143a6015f 100644 (file)
@@ -29,5 +29,6 @@ char logname[] = "output";
 void test ()
 {
   FESystem<2> fe (FE_Q_Bubbles<2>(QIterated<1>(QTrapez<1>(),3)), 2);
-  check (fe);
+  const std::array<unsigned int,3> min_convergence_steps = {{15,15,15}};
+  check (fe, min_convergence_steps);
 }
index 00c5ffdd59db1c767f5ebba19fd22f92f9724c31..8e2fe13ad16046bde5535445de4a049513ed90de 100644 (file)
@@ -3,44 +3,43 @@ DEAL::Dofs/cell 36Dofs/face 8
 DEAL::Dofs total 36
 DEAL::MM created
 DEAL::RHS created
-DEAL:cg::Starting value 0.17
-DEAL:cg::Convergence step 16 value 0
+DEAL::Solver stopped within 15 - 17 iterations
 # This file was generated by the deal.II library.
 
 
 #
 # For a description of the GNUPLOT format see the GNUPLOT manual.
 #
-# <x> <y> <solution_0> <solution_1>
-0.00 0.00 1.00 1.00
-0.25 0.00 1.00 1.00
-0.50 0.00 1.00 1.00
-0.75 0.00 1.00 1.00
-1.00 0.00 1.00 1.00
-
-0.15 0.12 1.00 1.00
-0.36 0.12 1.00 1.00
-0.57 0.12 1.00 1.00
-0.79 0.12 1.00 1.00
-1.00 0.12 1.00 1.00
-
-0.30 0.25 1.00 1.00
-0.47 0.25 1.00 1.00
-0.65 0.25 1.00 1.00
-0.82 0.25 1.00 1.00
-1.00 0.25 1.00 1.00
-
-0.45 0.38 1.00 1.00
-0.59 0.38 1.00 1.00
-0.73 0.38 1.00 1.00
-0.86 0.38 1.00 1.00
-1.00 0.38 1.00 1.00
-
-0.60 0.50 1.00 1.00
-0.70 0.50 1.00 1.00
-0.80 0.50 1.00 1.00
-0.90 0.50 1.00 1.00
-1.00 0.50 1.00 1.00
+# <x> <y> <solution_0> <solution_1> 
+0.00 0.00 1.00 1.00 
+0.25 0.00 1.00 1.00 
+0.50 0.00 1.00 1.00 
+0.75 0.00 1.00 1.00 
+1.00 0.00 1.00 1.00 
+
+0.15 0.12 1.00 1.00 
+0.36 0.12 1.00 1.00 
+0.57 0.12 1.00 1.00 
+0.79 0.12 1.00 1.00 
+1.00 0.12 1.00 1.00 
+
+0.30 0.25 1.00 1.00 
+0.47 0.25 1.00 1.00 
+0.65 0.25 1.00 1.00 
+0.82 0.25 1.00 1.00 
+1.00 0.25 1.00 1.00 
+
+0.45 0.38 1.00 1.00 
+0.59 0.38 1.00 1.00 
+0.73 0.38 1.00 1.00 
+0.86 0.38 1.00 1.00 
+1.00 0.38 1.00 1.00 
+
+0.60 0.50 1.00 1.00 
+0.70 0.50 1.00 1.00 
+0.80 0.50 1.00 1.00 
+0.90 0.50 1.00 1.00 
+1.00 0.50 1.00 1.00 
 
 
 DEAL::1.00
@@ -50,44 +49,43 @@ DEAL::1.00
 DEAL::Dofs total 36
 DEAL::MM created
 DEAL::RHS created
-DEAL:cg::Starting value 0.11
-DEAL:cg::Convergence step 16 value 0
+DEAL::Solver stopped within 15 - 17 iterations
 # This file was generated by the deal.II library.
 
 
 #
 # For a description of the GNUPLOT format see the GNUPLOT manual.
 #
-# <x> <y> <solution_0> <solution_1>
-0.60 0.50 1.00 1.00
-0.70 0.50 1.00 1.00
-0.80 0.50 1.00 1.00
-0.90 0.50 1.00 1.00
-1.00 0.50 1.00 1.00
-
-0.57 0.62 1.00 1.00
-0.68 0.62 1.00 1.00
-0.79 0.62 1.00 1.00
-0.89 0.62 1.00 1.00
-1.00 0.62 1.00 1.00
-
-0.55 0.75 1.00 1.00
-0.66 0.75 1.00 1.00
-0.78 0.75 1.00 1.00
-0.89 0.75 1.00 1.00
-1.00 0.75 1.00 1.00
-
-0.53 0.88 1.00 1.00
-0.64 0.88 1.00 1.00
-0.76 0.88 1.00 1.00
-0.88 0.88 1.00 1.00
-1.00 0.88 1.00 1.00
-
-0.50 1.00 1.00 1.00
-0.62 1.00 1.00 1.00
-0.75 1.00 1.00 1.00
-0.88 1.00 1.00 1.00
-1.00 1.00 1.00 1.00
+# <x> <y> <solution_0> <solution_1> 
+0.60 0.50 1.00 1.00 
+0.70 0.50 1.00 1.00 
+0.80 0.50 1.00 1.00 
+0.90 0.50 1.00 1.00 
+1.00 0.50 1.00 1.00 
+
+0.57 0.62 1.00 1.00 
+0.68 0.62 1.00 1.00 
+0.79 0.62 1.00 1.00 
+0.89 0.62 1.00 1.00 
+1.00 0.62 1.00 1.00 
+
+0.55 0.75 1.00 1.00 
+0.66 0.75 1.00 1.00 
+0.78 0.75 1.00 1.00 
+0.89 0.75 1.00 1.00 
+1.00 0.75 1.00 1.00 
+
+0.53 0.88 1.00 1.00 
+0.64 0.88 1.00 1.00 
+0.76 0.88 1.00 1.00 
+0.88 0.88 1.00 1.00 
+1.00 0.88 1.00 1.00 
+
+0.50 1.00 1.00 1.00 
+0.62 1.00 1.00 1.00 
+0.75 1.00 1.00 1.00 
+0.88 1.00 1.00 1.00 
+1.00 1.00 1.00 1.00 
 
 
 DEAL::1.00
@@ -97,44 +95,43 @@ DEAL::1.00
 DEAL::Dofs total 36
 DEAL::MM created
 DEAL::RHS created
-DEAL:cg::Starting value 0.21
-DEAL:cg::Convergence step 16 value 0
+DEAL::Solver stopped within 15 - 17 iterations
 # This file was generated by the deal.II library.
 
 
 #
 # For a description of the GNUPLOT format see the GNUPLOT manual.
 #
-# <x> <y> <solution_0> <solution_1>
-0.00 0.00 1.00 1.00
-0.15 0.12 1.00 1.00
-0.30 0.25 1.00 1.00
-0.45 0.38 1.00 1.00
-0.60 0.50 1.00 1.00
-
-0.00 0.25 1.00 1.00
-0.14 0.34 1.00 1.00
-0.29 0.44 1.00 1.00
-0.43 0.53 1.00 1.00
-0.57 0.62 1.00 1.00
-
-0.00 0.50 1.00 1.00
-0.14 0.56 1.00 1.00
-0.28 0.62 1.00 1.00
-0.41 0.69 1.00 1.00
-0.55 0.75 1.00 1.00
-
-0.00 0.75 1.00 1.00
-0.13 0.78 1.00 1.00
-0.26 0.81 1.00 1.00
-0.39 0.84 1.00 1.00
-0.53 0.88 1.00 1.00
-
-0.00 1.00 1.00 1.00
-0.12 1.00 1.00 1.00
-0.25 1.00 1.00 1.00
-0.38 1.00 1.00 1.00
-0.50 1.00 1.00 1.00
+# <x> <y> <solution_0> <solution_1> 
+0.00 0.00 1.00 1.00 
+0.15 0.12 1.00 1.00 
+0.30 0.25 1.00 1.00 
+0.45 0.38 1.00 1.00 
+0.60 0.50 1.00 1.00 
+
+0.00 0.25 1.00 1.00 
+0.14 0.34 1.00 1.00 
+0.29 0.44 1.00 1.00 
+0.43 0.53 1.00 1.00 
+0.57 0.62 1.00 1.00 
+
+0.00 0.50 1.00 1.00 
+0.14 0.56 1.00 1.00 
+0.28 0.62 1.00 1.00 
+0.41 0.69 1.00 1.00 
+0.55 0.75 1.00 1.00 
+
+0.00 0.75 1.00 1.00 
+0.13 0.78 1.00 1.00 
+0.26 0.81 1.00 1.00 
+0.39 0.84 1.00 1.00 
+0.53 0.88 1.00 1.00 
+
+0.00 1.00 1.00 1.00 
+0.12 1.00 1.00 1.00 
+0.25 1.00 1.00 1.00 
+0.38 1.00 1.00 1.00 
+0.50 1.00 1.00 1.00 
 
 
 DEAL::1.00
index d170772f52ac50fd924edf7c6b661a32c92376d8..ab34d449409282857451541b3e80d3342ff01239 100644 (file)
@@ -29,5 +29,6 @@ char logname[] = "output";
 void test ()
 {
   FESystem<2> fe (FE_Q_iso_Q1<2>(3), 2);
-  check (fe);
+  const std::array<unsigned int,3> min_convergence_steps = {{13,13,13}};
+  check (fe, min_convergence_steps);
 }
index 0c16e693d4804f75924fbabce32f2b05d8aa95cb..94c150c104de4db894d423f9af01d53366c3c360 100644 (file)
@@ -3,44 +3,43 @@ DEAL::Dofs/cell 32Dofs/face 8
 DEAL::Dofs total 32
 DEAL::MM created
 DEAL::RHS created
-DEAL:cg::Starting value 0.14
-DEAL:cg::Convergence step 14 value 0
+DEAL::Solver stopped within 13 - 15 iterations
 # This file was generated by the deal.II library.
 
 
 #
 # For a description of the GNUPLOT format see the GNUPLOT manual.
 #
-# <x> <y> <solution_0> <solution_1>
-0.00 0.00 1.00 1.00
-0.25 0.00 1.00 1.00
-0.50 0.00 1.00 1.00
-0.75 0.00 1.00 1.00
-1.00 0.00 1.00 1.00
-
-0.15 0.12 1.00 1.00
-0.36 0.12 1.00 1.00
-0.57 0.12 1.00 1.00
-0.79 0.12 1.00 1.00
-1.00 0.12 1.00 1.00
-
-0.30 0.25 1.00 1.00
-0.47 0.25 1.00 1.00
-0.65 0.25 1.00 1.00
-0.82 0.25 1.00 1.00
-1.00 0.25 1.00 1.00
-
-0.45 0.38 1.00 1.00
-0.59 0.38 1.00 1.00
-0.73 0.38 1.00 1.00
-0.86 0.38 1.00 1.00
-1.00 0.38 1.00 1.00
-
-0.60 0.50 1.00 1.00
-0.70 0.50 1.00 1.00
-0.80 0.50 1.00 1.00
-0.90 0.50 1.00 1.00
-1.00 0.50 1.00 1.00
+# <x> <y> <solution_0> <solution_1> 
+0.00 0.00 1.00 1.00 
+0.25 0.00 1.00 1.00 
+0.50 0.00 1.00 1.00 
+0.75 0.00 1.00 1.00 
+1.00 0.00 1.00 1.00 
+
+0.15 0.12 1.00 1.00 
+0.36 0.12 1.00 1.00 
+0.57 0.12 1.00 1.00 
+0.79 0.12 1.00 1.00 
+1.00 0.12 1.00 1.00 
+
+0.30 0.25 1.00 1.00 
+0.47 0.25 1.00 1.00 
+0.65 0.25 1.00 1.00 
+0.82 0.25 1.00 1.00 
+1.00 0.25 1.00 1.00 
+
+0.45 0.38 1.00 1.00 
+0.59 0.38 1.00 1.00 
+0.73 0.38 1.00 1.00 
+0.86 0.38 1.00 1.00 
+1.00 0.38 1.00 1.00 
+
+0.60 0.50 1.00 1.00 
+0.70 0.50 1.00 1.00 
+0.80 0.50 1.00 1.00 
+0.90 0.50 1.00 1.00 
+1.00 0.50 1.00 1.00 
 
 
 DEAL::1.00
@@ -50,44 +49,43 @@ DEAL::1.00
 DEAL::Dofs total 32
 DEAL::MM created
 DEAL::RHS created
-DEAL:cg::Starting value 0.09
-DEAL:cg::Convergence step 14 value 0
+DEAL::Solver stopped within 13 - 15 iterations
 # This file was generated by the deal.II library.
 
 
 #
 # For a description of the GNUPLOT format see the GNUPLOT manual.
 #
-# <x> <y> <solution_0> <solution_1>
-0.60 0.50 1.00 1.00
-0.70 0.50 1.00 1.00
-0.80 0.50 1.00 1.00
-0.90 0.50 1.00 1.00
-1.00 0.50 1.00 1.00
-
-0.57 0.62 1.00 1.00
-0.68 0.62 1.00 1.00
-0.79 0.62 1.00 1.00
-0.89 0.62 1.00 1.00
-1.00 0.62 1.00 1.00
-
-0.55 0.75 1.00 1.00
-0.66 0.75 1.00 1.00
-0.78 0.75 1.00 1.00
-0.89 0.75 1.00 1.00
-1.00 0.75 1.00 1.00
-
-0.53 0.88 1.00 1.00
-0.64 0.88 1.00 1.00
-0.76 0.88 1.00 1.00
-0.88 0.88 1.00 1.00
-1.00 0.88 1.00 1.00
-
-0.50 1.00 1.00 1.00
-0.62 1.00 1.00 1.00
-0.75 1.00 1.00 1.00
-0.88 1.00 1.00 1.00
-1.00 1.00 1.00 1.00
+# <x> <y> <solution_0> <solution_1> 
+0.60 0.50 1.00 1.00 
+0.70 0.50 1.00 1.00 
+0.80 0.50 1.00 1.00 
+0.90 0.50 1.00 1.00 
+1.00 0.50 1.00 1.00 
+
+0.57 0.62 1.00 1.00 
+0.68 0.62 1.00 1.00 
+0.79 0.62 1.00 1.00 
+0.89 0.62 1.00 1.00 
+1.00 0.62 1.00 1.00 
+
+0.55 0.75 1.00 1.00 
+0.66 0.75 1.00 1.00 
+0.78 0.75 1.00 1.00 
+0.89 0.75 1.00 1.00 
+1.00 0.75 1.00 1.00 
+
+0.53 0.88 1.00 1.00 
+0.64 0.88 1.00 1.00 
+0.76 0.88 1.00 1.00 
+0.88 0.88 1.00 1.00 
+1.00 0.88 1.00 1.00 
+
+0.50 1.00 1.00 1.00 
+0.62 1.00 1.00 1.00 
+0.75 1.00 1.00 1.00 
+0.88 1.00 1.00 1.00 
+1.00 1.00 1.00 1.00 
 
 
 DEAL::1.00
@@ -97,44 +95,43 @@ DEAL::1.00
 DEAL::Dofs total 32
 DEAL::MM created
 DEAL::RHS created
-DEAL:cg::Starting value 0.17
-DEAL:cg::Convergence step 14 value 0
+DEAL::Solver stopped within 13 - 15 iterations
 # This file was generated by the deal.II library.
 
 
 #
 # For a description of the GNUPLOT format see the GNUPLOT manual.
 #
-# <x> <y> <solution_0> <solution_1>
-0.00 0.00 1.00 1.00
-0.15 0.12 1.00 1.00
-0.30 0.25 1.00 1.00
-0.45 0.38 1.00 1.00
-0.60 0.50 1.00 1.00
-
-0.00 0.25 1.00 1.00
-0.14 0.34 1.00 1.00
-0.29 0.44 1.00 1.00
-0.43 0.53 1.00 1.00
-0.57 0.62 1.00 1.00
-
-0.00 0.50 1.00 1.00
-0.14 0.56 1.00 1.00
-0.28 0.62 1.00 1.00
-0.41 0.69 1.00 1.00
-0.55 0.75 1.00 1.00
-
-0.00 0.75 1.00 1.00
-0.13 0.78 1.00 1.00
-0.26 0.81 1.00 1.00
-0.39 0.84 1.00 1.00
-0.53 0.88 1.00 1.00
-
-0.00 1.00 1.00 1.00
-0.12 1.00 1.00 1.00
-0.25 1.00 1.00 1.00
-0.38 1.00 1.00 1.00
-0.50 1.00 1.00 1.00
+# <x> <y> <solution_0> <solution_1> 
+0.00 0.00 1.00 1.00 
+0.15 0.12 1.00 1.00 
+0.30 0.25 1.00 1.00 
+0.45 0.38 1.00 1.00 
+0.60 0.50 1.00 1.00 
+
+0.00 0.25 1.00 1.00 
+0.14 0.34 1.00 1.00 
+0.29 0.44 1.00 1.00 
+0.43 0.53 1.00 1.00 
+0.57 0.62 1.00 1.00 
+
+0.00 0.50 1.00 1.00 
+0.14 0.56 1.00 1.00 
+0.28 0.62 1.00 1.00 
+0.41 0.69 1.00 1.00 
+0.55 0.75 1.00 1.00 
+
+0.00 0.75 1.00 1.00 
+0.13 0.78 1.00 1.00 
+0.26 0.81 1.00 1.00 
+0.39 0.84 1.00 1.00 
+0.53 0.88 1.00 1.00 
+
+0.00 1.00 1.00 1.00 
+0.12 1.00 1.00 1.00 
+0.25 1.00 1.00 1.00 
+0.38 1.00 1.00 1.00 
+0.50 1.00 1.00 1.00 
 
 
 DEAL::1.00
index b45cacdf5469afbbc56c470e2ded276d296dd748..8ee607a15e5659d20aac25333678ab93a7b63f8e 100644 (file)
@@ -28,5 +28,6 @@ char logname[] = "output";
 void test ()
 {
   FE_RaviartThomas<2> fe (0);
-  check (fe);
+  const std::array<unsigned int,3> min_convergence_steps = {{3,3,3}};
+  check (fe, min_convergence_steps);
 }
index b68844264e6db8b2e3d982f444acde5346fe0f5d..79e98e0fe8f76bc9bf7fd70c0580c678e62a438e 100644 (file)
@@ -3,44 +3,43 @@ DEAL::Dofs/cell 4Dofs/face 1
 DEAL::Dofs total 4
 DEAL::MM created
 DEAL::RHS created
-DEAL:cg::Starting value 0.75
-DEAL:cg::Convergence step 4 value 0
+DEAL::Solver stopped within 3 - 5 iterations
 # This file was generated by the deal.II library.
 
 
 #
 # For a description of the GNUPLOT format see the GNUPLOT manual.
 #
-# <x> <y> <solution_0> <solution_1>
-0.00 0.00 1.00 1.00
-0.25 0.00 1.00 1.00
-0.50 0.00 1.00 1.00
-0.75 0.00 1.00 1.00
-1.00 0.00 1.00 1.00
-
-0.15 0.12 1.00 1.00
-0.36 0.12 1.00 1.00
-0.57 0.12 1.00 1.00
-0.79 0.12 1.00 1.00
-1.00 0.12 1.00 1.00
-
-0.30 0.25 1.00 1.00
-0.47 0.25 1.00 1.00
-0.65 0.25 1.00 1.00
-0.82 0.25 1.00 1.00
-1.00 0.25 1.00 1.00
-
-0.45 0.38 1.00 1.00
-0.59 0.38 1.00 1.00
-0.73 0.38 1.00 1.00
-0.86 0.38 1.00 1.00
-1.00 0.38 1.00 1.00
-
-0.60 0.50 1.00 1.00
-0.70 0.50 1.00 1.00
-0.80 0.50 1.00 1.00
-0.90 0.50 1.00 1.00
-1.00 0.50 1.00 1.00
+# <x> <y> <solution_0> <solution_1> 
+0.00 0.00 1.00 1.00 
+0.25 0.00 1.00 1.00 
+0.50 0.00 1.00 1.00 
+0.75 0.00 1.00 1.00 
+1.00 0.00 1.00 1.00 
+
+0.15 0.12 1.00 1.00 
+0.36 0.12 1.00 1.00 
+0.57 0.12 1.00 1.00 
+0.79 0.12 1.00 1.00 
+1.00 0.12 1.00 1.00 
+
+0.30 0.25 1.00 1.00 
+0.47 0.25 1.00 1.00 
+0.65 0.25 1.00 1.00 
+0.82 0.25 1.00 1.00 
+1.00 0.25 1.00 1.00 
+
+0.45 0.38 1.00 1.00 
+0.59 0.38 1.00 1.00 
+0.73 0.38 1.00 1.00 
+0.86 0.38 1.00 1.00 
+1.00 0.38 1.00 1.00 
+
+0.60 0.50 1.00 1.00 
+0.70 0.50 1.00 1.00 
+0.80 0.50 1.00 1.00 
+0.90 0.50 1.00 1.00 
+1.00 0.50 1.00 1.00 
 
 
 DEAL::-0.10
@@ -50,44 +49,43 @@ DEAL::0.40
 DEAL::Dofs total 4
 DEAL::MM created
 DEAL::RHS created
-DEAL:cg::Starting value 0.45
-DEAL:cg::Convergence step 4 value 0
+DEAL::Solver stopped within 3 - 5 iterations
 # This file was generated by the deal.II library.
 
 
 #
 # For a description of the GNUPLOT format see the GNUPLOT manual.
 #
-# <x> <y> <solution_0> <solution_1>
-0.60 0.50 1.00 1.00
-0.70 0.50 1.00 1.00
-0.80 0.50 1.00 1.00
-0.90 0.50 1.00 1.00
-1.00 0.50 1.00 1.00
-
-0.57 0.62 1.00 1.00
-0.68 0.62 1.00 1.00
-0.79 0.62 1.00 1.00
-0.89 0.62 1.00 1.00
-1.00 0.62 1.00 1.00
-
-0.55 0.75 1.00 1.00
-0.66 0.75 1.00 1.00
-0.78 0.75 1.00 1.00
-0.89 0.75 1.00 1.00
-1.00 0.75 1.00 1.00
-
-0.53 0.88 1.00 1.00
-0.64 0.88 1.00 1.00
-0.76 0.88 1.00 1.00
-0.88 0.88 1.00 1.00
-1.00 0.88 1.00 1.00
-
-0.50 1.00 1.00 1.00
-0.62 1.00 1.00 1.00
-0.75 1.00 1.00 1.00
-0.88 1.00 1.00 1.00
-1.00 1.00 1.00 1.00
+# <x> <y> <solution_0> <solution_1> 
+0.60 0.50 1.00 1.00 
+0.70 0.50 1.00 1.00 
+0.80 0.50 1.00 1.00 
+0.90 0.50 1.00 1.00 
+1.00 0.50 1.00 1.00 
+
+0.57 0.62 1.00 1.00 
+0.68 0.62 1.00 1.00 
+0.79 0.62 1.00 1.00 
+0.89 0.62 1.00 1.00 
+1.00 0.62 1.00 1.00 
+
+0.55 0.75 1.00 1.00 
+0.66 0.75 1.00 1.00 
+0.78 0.75 1.00 1.00 
+0.89 0.75 1.00 1.00 
+1.00 0.75 1.00 1.00 
+
+0.53 0.88 1.00 1.00 
+0.64 0.88 1.00 1.00 
+0.76 0.88 1.00 1.00 
+0.88 0.88 1.00 1.00 
+1.00 0.88 1.00 1.00 
+
+0.50 1.00 1.00 1.00 
+0.62 1.00 1.00 1.00 
+0.75 1.00 1.00 1.00 
+0.88 1.00 1.00 1.00 
+1.00 1.00 1.00 1.00 
 
 
 DEAL::0.60
@@ -97,44 +95,43 @@ DEAL::0.50
 DEAL::Dofs total 4
 DEAL::MM created
 DEAL::RHS created
-DEAL:cg::Starting value 0.75
-DEAL:cg::Convergence step 4 value 0
+DEAL::Solver stopped within 3 - 5 iterations
 # This file was generated by the deal.II library.
 
 
 #
 # For a description of the GNUPLOT format see the GNUPLOT manual.
 #
-# <x> <y> <solution_0> <solution_1>
-0.00 0.00 1.00 1.00
-0.15 0.12 1.00 1.00
-0.30 0.25 1.00 1.00
-0.45 0.38 1.00 1.00
-0.60 0.50 1.00 1.00
-
-0.00 0.25 1.00 1.00
-0.14 0.34 1.00 1.00
-0.29 0.44 1.00 1.00
-0.43 0.53 1.00 1.00
-0.57 0.62 1.00 1.00
-
-0.00 0.50 1.00 1.00
-0.14 0.56 1.00 1.00
-0.28 0.62 1.00 1.00
-0.41 0.69 1.00 1.00
-0.55 0.75 1.00 1.00
-
-0.00 0.75 1.00 1.00
-0.13 0.78 1.00 1.00
-0.26 0.81 1.00 1.00
-0.39 0.84 1.00 1.00
-0.53 0.88 1.00 1.00
-
-0.00 1.00 1.00 1.00
-0.12 1.00 1.00 1.00
-0.25 1.00 1.00 1.00
-0.38 1.00 1.00 1.00
-0.50 1.00 1.00 1.00
+# <x> <y> <solution_0> <solution_1> 
+0.00 0.00 1.00 1.00 
+0.15 0.12 1.00 1.00 
+0.30 0.25 1.00 1.00 
+0.45 0.38 1.00 1.00 
+0.60 0.50 1.00 1.00 
+
+0.00 0.25 1.00 1.00 
+0.14 0.34 1.00 1.00 
+0.29 0.44 1.00 1.00 
+0.43 0.53 1.00 1.00 
+0.57 0.62 1.00 1.00 
+
+0.00 0.50 1.00 1.00 
+0.14 0.56 1.00 1.00 
+0.28 0.62 1.00 1.00 
+0.41 0.69 1.00 1.00 
+0.55 0.75 1.00 1.00 
+
+0.00 0.75 1.00 1.00 
+0.13 0.78 1.00 1.00 
+0.26 0.81 1.00 1.00 
+0.39 0.84 1.00 1.00 
+0.53 0.88 1.00 1.00 
+
+0.00 1.00 1.00 1.00 
+0.12 1.00 1.00 1.00 
+0.25 1.00 1.00 1.00 
+0.38 1.00 1.00 1.00 
+0.50 1.00 1.00 1.00 
 
 
 DEAL::1.00

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.