]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Re-remove performance checking code.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 22 May 1998 16:44:16 +0000 (16:44 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 22 May 1998 16:44:16 +0000 (16:44 +0000)
git-svn-id: https://svn.dealii.org/trunk@335 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/Attic/examples/convergence/convergence.cc
tests/big-tests/convergence/convergence.cc

index 32377e0c1d5b380076499376a851162e2995d78d..daa59f36d6678df4cbf15bc10a640798b09587af 100644 (file)
@@ -261,20 +261,6 @@ void PoissonProblem<dim>::run (const unsigned int level) {
   cout << "    Solving..." << endl;
   solve ();
 
-  if (true) 
-    {
-      cout << "    Checking performance... " << flush;
-      dVector tmp(solution.size());
-      Timer timer;
-      const unsigned int n_loops=200;
-      for (unsigned int i=0; i<n_loops; ++i)
-       system_matrix.vmult (tmp, solution);
-      double time = timer.stop();
-      cout << 2.0*system_matrix.n_nonzero_elements()/time/1e6*n_loops
-          << " MFlops (" << time << " seconds)."  << endl;
-    };
-  
-
   Solution<dim> sol;
   dVector       l1_error_per_cell, l2_error_per_cell, linfty_error_per_cell;
   dVector       h1_seminorm_error_per_cell, h1_error_per_cell;
index 32377e0c1d5b380076499376a851162e2995d78d..daa59f36d6678df4cbf15bc10a640798b09587af 100644 (file)
@@ -261,20 +261,6 @@ void PoissonProblem<dim>::run (const unsigned int level) {
   cout << "    Solving..." << endl;
   solve ();
 
-  if (true) 
-    {
-      cout << "    Checking performance... " << flush;
-      dVector tmp(solution.size());
-      Timer timer;
-      const unsigned int n_loops=200;
-      for (unsigned int i=0; i<n_loops; ++i)
-       system_matrix.vmult (tmp, solution);
-      double time = timer.stop();
-      cout << 2.0*system_matrix.n_nonzero_elements()/time/1e6*n_loops
-          << " MFlops (" << time << " seconds)."  << endl;
-    };
-  
-
   Solution<dim> sol;
   dVector       l1_error_per_cell, l2_error_per_cell, linfty_error_per_cell;
   dVector       h1_seminorm_error_per_cell, h1_error_per_cell;

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.