From 3b02a7254c9a2a73f8a024b46b825828cf272271 Mon Sep 17 00:00:00 2001 From: bangerth Date: Thu, 31 May 2007 17:37:02 +0000 Subject: [PATCH] Move the assemble timer so that it doesn't nest the condense timer. git-svn-id: https://svn.dealii.org/trunk@14737 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-27/step-27.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/deal.II/examples/step-27/step-27.cc b/deal.II/examples/step-27/step-27.cc index eb690b3ad2..9193b533b8 100644 --- a/deal.II/examples/step-27/step-27.cc +++ b/deal.II/examples/step-27/step-27.cc @@ -211,6 +211,9 @@ void LaplaceProblem::setup_system () template void LaplaceProblem::assemble_system () { + assemble.reset (); + assemble.start (); + hp::FEValues hp_fe_values (fe_collection, quadrature_collection, update_values | update_gradients | @@ -281,6 +284,8 @@ void LaplaceProblem::assemble_system () } } + assemble.stop(); + if (condense_global) { condense.start(); @@ -1290,10 +1295,7 @@ void LaplaceProblem::run () << hanging_node_constraints.n_constraints() << std::endl; - assemble.reset (); - assemble.start (); assemble_system (); - assemble.stop(); solver.reset(); -- 2.39.5