]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Move the assemble timer so that it doesn't nest the condense timer.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 31 May 2007 17:37:02 +0000 (17:37 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 31 May 2007 17:37:02 +0000 (17:37 +0000)
git-svn-id: https://svn.dealii.org/trunk@14737 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-27/step-27.cc

index eb690b3ad2706d507829d82c4c8ac8aaa9e35ee9..9193b533b818996ba63342d28dfc1ffb62aed853 100644 (file)
@@ -211,6 +211,9 @@ void LaplaceProblem<dim>::setup_system ()
 template <int dim>
 void LaplaceProblem<dim>::assemble_system () 
 {
+  assemble.reset ();
+  assemble.start ();
+  
   hp::FEValues<dim> hp_fe_values (fe_collection,
                                  quadrature_collection, 
                                  update_values    |  update_gradients |
@@ -281,6 +284,8 @@ void LaplaceProblem<dim>::assemble_system ()
        }
     }
 
+  assemble.stop();
+  
   if (condense_global)
     {
       condense.start();
@@ -1290,10 +1295,7 @@ void LaplaceProblem<dim>::run ()
                << hanging_node_constraints.n_constraints()
                << std::endl;
 
-      assemble.reset ();
-      assemble.start ();
       assemble_system ();
-      assemble.stop();
       
 
       solver.reset();

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.