const auto str_fine = std::to_string(fe_degree);
const auto str_coarse = std::to_string(fe_degree);
- {
- deallog.push("CG<2>(" + str_fine + ")<->CG<2>(" + str_coarse + ")");
- do_test<dim, double>(FE_Q<dim>(fe_degree), FE_Q<dim>(fe_degree));
- deallog.pop();
- }
-
- {
- deallog.push("DG<2>(" + str_fine + ")<->CG<2>(" + str_coarse + ")");
- do_test<dim, double>(FE_DGQ<dim>(fe_degree), FE_Q<dim>(fe_degree));
- deallog.pop();
- }
+ if (fe_degree > 0)
+ {
+ deallog.push("CG<2>(" + str_fine + ")<->CG<2>(" + str_coarse + ")");
+ do_test<dim, double>(FE_Q<dim>(fe_degree), FE_Q<dim>(fe_degree));
+ deallog.pop();
+ }
+
+ if (fe_degree > 0)
+ {
+ deallog.push("DG<2>(" + str_fine + ")<->CG<2>(" + str_coarse + ")");
+ do_test<dim, double>(FE_DGQ<dim>(fe_degree), FE_Q<dim>(fe_degree));
+ deallog.pop();
+ }
{
deallog.push("DG<2>(" + str_fine + ")<->DG<2>(" + str_coarse + ")");
deallog.precision(8);
- for (unsigned int i = 1; i < 5; ++i)
+ for (unsigned int i = 0; i < 5; ++i)
test<2, double>(i);
}
+DEAL:0:DG<2>(0)<->DG<2>(0)::3.1622777
+DEAL:0:DG<2>(0)<->DG<2>(0)::1.0000000 1.0000000 1.0000000 1.0000000
+DEAL:0:DG<2>(0)<->DG<2>(0)::1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000
+DEAL:0:DG<2>(0)<->DG<2>(0)::5.8309519
+DEAL:0:DG<2>(0)<->DG<2>(0)::1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000
+DEAL:0:DG<2>(0)<->DG<2>(0)::4.0000000 1.0000000 4.0000000 1.0000000
DEAL:0:CG<2>(1)<->CG<2>(1)::4.2426407
DEAL:0:CG<2>(1)<->CG<2>(1)::1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000
DEAL:0:CG<2>(1)<->CG<2>(1)::1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000
+DEAL:0:DG<2>(0)<->DG<2>(0)::3.1622777
+DEAL:0:DG<2>(0)<->DG<2>(0)::1.0000000 1.0000000 1.0000000 1.0000000
+DEAL:0:DG<2>(0)<->DG<2>(0)::1.0000000 1.0000000 1.0000000 1.0000000 1.0000000
+DEAL:0:DG<2>(0)<->DG<2>(0)::5.8309519
+DEAL:0:DG<2>(0)<->DG<2>(0)::1.0000000 1.0000000 1.0000000 1.0000000 1.0000000
+DEAL:0:DG<2>(0)<->DG<2>(0)::4.0000000 1.0000000 4.0000000 1.0000000
DEAL:0:CG<2>(1)<->CG<2>(1)::4.2426407
DEAL:0:CG<2>(1)<->CG<2>(1)::1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000
DEAL:0:CG<2>(1)<->CG<2>(1)::1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000
DEAL:0:DG<2>(4)<->DG<2>(4)::1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000
DEAL:0:DG<2>(4)<->DG<2>(4)::1.4582719 2.1321498 4.8950494 2.1321498 1.4582719 2.1321498 3.1174316 7.1570871 3.1174316 2.1321498 4.8950494 7.1570871 16.431441 7.1570871 4.8950494 2.1321498 3.1174316 7.1570871 3.1174316 2.1321498 1.4582719 2.1321498 4.8950494 2.1321498 1.4582719 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.4582719 2.1321498 4.8950494 2.1321498 1.4582719 2.1321498 3.1174316 7.1570871 3.1174316 2.1321498 4.8950494 7.1570871 16.431441 7.1570871 4.8950494 2.1321498 3.1174316 7.1570871 3.1174316 2.1321498 1.4582719 2.1321498 4.8950494 2.1321498 1.4582719 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000
+DEAL:1:DG<2>(0)<->DG<2>(0)::3.1622777
+DEAL:1:DG<2>(0)<->DG<2>(0)::
+DEAL:1:DG<2>(0)<->DG<2>(0)::1.0000000 1.0000000 1.0000000 1.0000000 1.0000000
+DEAL:1:DG<2>(0)<->DG<2>(0)::5.8309519
+DEAL:1:DG<2>(0)<->DG<2>(0)::1.0000000 1.0000000 1.0000000 1.0000000 1.0000000
+DEAL:1:DG<2>(0)<->DG<2>(0)::
DEAL:1:CG<2>(1)<->CG<2>(1)::4.2426407
DEAL:1:CG<2>(1)<->CG<2>(1)::
DEAL:1:CG<2>(1)<->CG<2>(1)::1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000
const auto str_fine = std::to_string(fe_degree);
const auto str_coarse = std::to_string(fe_degree);
- {
- deallog.push("CG<2>(" + str_fine + ")<->CG<2>(" + str_coarse + ")");
- do_test<dim, double>(FE_Q<dim>(fe_degree), FE_Q<dim>(fe_degree));
- deallog.pop();
- }
-
- {
- deallog.push("DG<2>(" + str_fine + ")<->CG<2>(" + str_coarse + ")");
- do_test<dim, double>(FE_DGQ<dim>(fe_degree), FE_Q<dim>(fe_degree));
- deallog.pop();
- }
+ if (fe_degree > 0)
+ {
+ deallog.push("CG<2>(" + str_fine + ")<->CG<2>(" + str_coarse + ")");
+ do_test<dim, double>(FE_Q<dim>(fe_degree), FE_Q<dim>(fe_degree));
+ deallog.pop();
+ }
+
+ if (fe_degree > 0)
+ {
+ deallog.push("DG<2>(" + str_fine + ")<->CG<2>(" + str_coarse + ")");
+ do_test<dim, double>(FE_DGQ<dim>(fe_degree), FE_Q<dim>(fe_degree));
+ deallog.pop();
+ }
{
deallog.push("DG<2>(" + str_fine + ")<->DG<2>(" + str_coarse + ")");
deallog.precision(8);
- for (unsigned int i = 1; i < 5; ++i)
+ for (unsigned int i = 0; i < 5; ++i)
test<2, double>(i);
}
+DEAL:0:DG<2>(0)<->DG<2>(0)::3.1622777
+DEAL:0:DG<2>(0)<->DG<2>(0)::1.0000000 1.0000000 1.0000000 1.0000000
+DEAL:0:DG<2>(0)<->DG<2>(0)::1.0000000 1.0000000 1.0000000 1.0000000 1.0000000
+DEAL:0:DG<2>(0)<->DG<2>(0)::5.8309519
+DEAL:0:DG<2>(0)<->DG<2>(0)::1.0000000 1.0000000 1.0000000 1.0000000 1.0000000
+DEAL:0:DG<2>(0)<->DG<2>(0)::4.0000000 1.0000000 4.0000000 1.0000000
DEAL:0:CG<2>(1)<->CG<2>(1)::4.2426407
DEAL:0:CG<2>(1)<->CG<2>(1)::1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000
DEAL:0:CG<2>(1)<->CG<2>(1)::1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000
DEAL:0:DG<2>(4)<->DG<2>(4)::1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000
DEAL:0:DG<2>(4)<->DG<2>(4)::1.4582719 2.1321498 4.8950494 2.1321498 1.4582719 2.1321498 3.1174316 7.1570871 3.1174316 2.1321498 4.8950494 7.1570871 16.431441 7.1570871 4.8950494 2.1321498 3.1174316 7.1570871 3.1174316 2.1321498 1.4582719 2.1321498 4.8950494 2.1321498 1.4582719 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.4582719 2.1321498 4.8950494 2.1321498 1.4582719 2.1321498 3.1174316 7.1570871 3.1174316 2.1321498 4.8950494 7.1570871 16.431441 7.1570871 4.8950494 2.1321498 3.1174316 7.1570871 3.1174316 2.1321498 1.4582719 2.1321498 4.8950494 2.1321498 1.4582719 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000
+DEAL:1:DG<2>(0)<->DG<2>(0)::3.1622777
+DEAL:1:DG<2>(0)<->DG<2>(0)::
+DEAL:1:DG<2>(0)<->DG<2>(0)::1.0000000 1.0000000 1.0000000 1.0000000 1.0000000
+DEAL:1:DG<2>(0)<->DG<2>(0)::5.8309519
+DEAL:1:DG<2>(0)<->DG<2>(0)::1.0000000 1.0000000 1.0000000 1.0000000 1.0000000
+DEAL:1:DG<2>(0)<->DG<2>(0)::
DEAL:1:CG<2>(1)<->CG<2>(1)::4.2426407
DEAL:1:CG<2>(1)<->CG<2>(1)::
DEAL:1:CG<2>(1)<->CG<2>(1)::1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000