]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Reduce test time by cutting away the most expensive cycle. 1701/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Thu, 1 Oct 2015 19:35:42 +0000 (21:35 +0200)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Thu, 1 Oct 2015 19:35:42 +0000 (21:35 +0200)
tests/fe/fe_project_3d.cc
tests/fe/fe_project_3d.output

index a96d88a14fd4da26b98466d4c018143835f96f84..d6fe8bd7541076d406754fb45afc2c9394a683a3 100644 (file)
@@ -292,6 +292,8 @@ void test(const FiniteElement<dim> &fe, unsigned n_cycles, bool global, const Po
     {\r
       dof_handler.distribute_dofs(fe);\r
 \r
+      std::cout << "Number of cells/dofs: " << dof_handler.get_tria().n_active_cells() << " " << dof_handler.n_dofs() << std::endl;\r
+\r
       ConstraintMatrix constraints;\r
       DoFTools::make_hanging_node_constraints(dof_handler, constraints);\r
       constraints.close();\r
@@ -407,7 +409,7 @@ int main ()
 \r
   const static unsigned dim = 3;\r
   unsigned order = 1;\r
-  unsigned n_cycles = 3;\r
+  unsigned n_cycles = 2;\r
 \r
   deallog << "3d\nRectangular grid:\n";\r
 \r
index 7bf98589061f079486b7973cd88e98088e5fba8a..0168acb6e65719d3eb0c4a9d7226a89bbb01da26 100644 (file)
@@ -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::

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.