From 2f443560d0b9d63355db004dee353da6d83b0231 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Thu, 1 Oct 2015 21:35:42 +0200 Subject: [PATCH] Reduce test time by cutting away the most expensive cycle. --- tests/fe/fe_project_3d.cc | 4 +++- tests/fe/fe_project_3d.output | 6 ------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/tests/fe/fe_project_3d.cc b/tests/fe/fe_project_3d.cc index a96d88a14f..d6fe8bd754 100644 --- a/tests/fe/fe_project_3d.cc +++ b/tests/fe/fe_project_3d.cc @@ -292,6 +292,8 @@ void test(const FiniteElement &fe, unsigned n_cycles, bool global, const Po { dof_handler.distribute_dofs(fe); + std::cout << "Number of cells/dofs: " << dof_handler.get_tria().n_active_cells() << " " << dof_handler.n_dofs() << std::endl; + ConstraintMatrix constraints; DoFTools::make_hanging_node_constraints(dof_handler, constraints); constraints.close(); @@ -407,7 +409,7 @@ int main () const static unsigned dim = 3; unsigned order = 1; - unsigned n_cycles = 3; + unsigned n_cycles = 2; deallog << "3d\nRectangular grid:\n"; diff --git a/tests/fe/fe_project_3d.output b/tests/fe/fe_project_3d.output index 7bf9858906..0168acb6e6 100644 --- a/tests/fe/fe_project_3d.output +++ b/tests/fe/fe_project_3d.output @@ -5,34 +5,28 @@ dim: 3 FE_Nedelec<3>(1) DEAL::DoFs ||u-u_h||_1 curl(u_h) tangentials curl(curl(u_h)) curl_curl_traces div(u_h) boundary_flux DEAL::300 4.543286 0 0 0 0 0 0 DEAL::1944 0.768808 0 0 0 0 0 0 -DEAL::13872 0.184452 0 0 0 0 0 0 DEAL::dim: 3 FE_RaviartThomas<3>(1) DEAL::DoFs ||u-u_h||_1 curl(u_h) tangentials curl(curl(u_h)) curl_curl_traces div(u_h) boundary_flux DEAL::240 1.704443 0 0 0 0 0 0 DEAL::1728 1.047194 0 0 0 0 0 0 -DEAL::13056 0.242682 0 0 0 0 0 0 DEAL:: Affine grid: dim: 3 FE_Nedelec<3>(1) DEAL::DoFs ||u-u_h||_1 curl(u_h) tangentials curl(curl(u_h)) curl_curl_traces div(u_h) boundary_flux DEAL::300 4.043897 0 0 0.007018 0.007018 0 0 DEAL::1944 0.785617 0 0 0.000527 0.000527 0 0 -DEAL::13872 0.194003 0 0 0.000014 0.000014 0 0 DEAL::dim: 3 FE_RaviartThomas<3>(1) DEAL::DoFs ||u-u_h||_1 curl(u_h) tangentials curl(curl(u_h)) curl_curl_traces div(u_h) boundary_flux DEAL::240 2.853715 0 0 0 0 0 0 DEAL::1728 1.108491 0 0 0 0 0 0 -DEAL::13056 0.270326 0 0 0 0 0 0 DEAL:: Non-affine grid: dim: 3 FE_Nedelec<3>(1) DEAL::DoFs ||u-u_h||_1 curl(u_h) tangentials curl(curl(u_h)) curl_curl_traces div(u_h) boundary_flux DEAL::300 4.500380 0.052702 0.052702 0.893524 0.893783 -0.067389 -0.067366 DEAL::1944 0.800197 0.006576 0.006576 0.160602 0.160603 -0.026230 -0.026230 -DEAL::13872 0.196793 0.002025 0.002025 0.065033 0.065033 -0.004489 -0.004489 DEAL::dim: 3 FE_RaviartThomas<3>(1) DEAL::DoFs ||u-u_h||_1 curl(u_h) tangentials curl(curl(u_h)) curl_curl_traces div(u_h) boundary_flux DEAL::240 2.198354 0.020423 0.020435 1.920196 2.031656 0.049057 0.049057 DEAL::1728 1.150110 0.022659 0.022658 0.638775 0.724501 0.016784 0.016784 -DEAL::13056 0.272206 0.004230 0.004230 0.112209 0.193524 0.003806 0.003806 DEAL:: -- 2.39.5