ConvergenceTable table;
- for (unsigned int refinement=0; refinement<6;
+
+ for (unsigned int refinement=0; refinement < (degree != 4 ? 6 : 4);
++refinement, triangulation.refine_global (1))
{
table.add_value("cells", triangulation.n_active_cells());
update_JxW_values);
ConvergenceTable table;
- for (unsigned int refinement=0; refinement<6;
+ for (unsigned int refinement=0; refinement < (degree != 4 ? 6 : 4);
++refinement, triangulation.refine_global (1))
{
table.add_value("cells", triangulation.n_active_cells());
20 3.1415926314742437 2.2116e-08 7.95
80 3.1415926535026228 8.7170e-11 7.99
320 3.1415926535894529 3.4036e-13 8.00
-1280 3.1415926535897927 2.9187e-16 10.19
-5120 3.1415926535897944 1.3509e-15 -2.21
DEAL::
DEAL::Computation of Pi by the perimeter:
DEAL::===================================
20 3.1415926513737600 2.2160e-09 7.96
80 3.1415926535810712 8.7218e-12 7.99
320 3.1415926535897594 3.3668e-14 8.02
-1280 3.1415926535897922 1.0617e-15 4.99
-5120 3.1415926535897931 1.0061e-16 3.40
DEAL::
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