From: Wolfgang Bangerth Date: Wed, 20 May 1998 17:10:49 +0000 (+0000) Subject: Temporarily check the MFlops rate for matrix-vector-product. Remove this next time... X-Git-Tag: v8.0.0~22928 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f9e98bb780ed2ee15742ecc43f157744357bc87;p=dealii.git Temporarily check the MFlops rate for matrix-vector-product. Remove this next time we see it. git-svn-id: https://svn.dealii.org/trunk@326 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/Attic/examples/convergence/convergence.cc b/deal.II/deal.II/Attic/examples/convergence/convergence.cc index b2424130dc..32377e0c1d 100644 --- a/deal.II/deal.II/Attic/examples/convergence/convergence.cc +++ b/deal.II/deal.II/Attic/examples/convergence/convergence.cc @@ -223,7 +223,7 @@ void PoissonProblem::create_new () { - +#include template void PoissonProblem::run (const unsigned int level) { @@ -261,6 +261,20 @@ void PoissonProblem::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 sol; dVector l1_error_per_cell, l2_error_per_cell, linfty_error_per_cell; dVector h1_seminorm_error_per_cell, h1_error_per_cell; diff --git a/tests/big-tests/convergence/convergence.cc b/tests/big-tests/convergence/convergence.cc index b2424130dc..32377e0c1d 100644 --- a/tests/big-tests/convergence/convergence.cc +++ b/tests/big-tests/convergence/convergence.cc @@ -223,7 +223,7 @@ void PoissonProblem::create_new () { - +#include template void PoissonProblem::run (const unsigned int level) { @@ -261,6 +261,20 @@ void PoissonProblem::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 sol; dVector l1_error_per_cell, l2_error_per_cell, linfty_error_per_cell; dVector h1_seminorm_error_per_cell, h1_error_per_cell;