]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
make results more scannable
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 31 May 2007 19:41:48 +0000 (19:41 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 31 May 2007 19:41:48 +0000 (19:41 +0000)
git-svn-id: https://svn.dealii.org/trunk@14739 0785d39b-7218-0410-832d-ea1e28bc413d

tests/benchmarks/dof_handler_timing_01.cc

index 713efbf46ccb767a8e904281b722b15616204cf0..87364c19e63e3677ef0c22a2ad6cd2318b983d46 100644 (file)
@@ -59,7 +59,7 @@ void check_dofs(DOF& dof, unsigned int repeat)
 template <int dim>
 void check (bool local)
 {
-  deallog << "Dimension " << dim << std::endl;
+  deallog << "Start mesh"  << std::endl;
   Triangulation<dim> tr(Triangulation<dim>::maximum_smoothing);
   GridGenerator::hyper_cube(tr);
 
@@ -74,7 +74,7 @@ void check (bool local)
   
   deallog << "Levels " << tr.n_levels() << " Cells "<< tr.n_cells()
          << std::endl
-         << " active " << tr.n_active_cells()
+         << "active " << tr.n_active_cells()
          << " memory " << tr.memory_consumption()/1.e6
          << std::endl;
   
@@ -95,12 +95,20 @@ int main()
   deallog.log_time_differences(true);
   deallog.attach(out);
   deallog.push("local");
+  deallog.push("2d");
   check<2>(true);
+  deallog.pop();
+  deallog.push("3d");
   check<3>(true);
   deallog.pop();
+  deallog.pop();
   deallog.push("global");  
+  deallog.push("2d");
   check<2>(false);
+  deallog.pop();
+  deallog.push("3d");
   check<3>(false);
   deallog.pop();
+  deallog.pop();
 }
 

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.