]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
fix performance test: same quadrature
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 16 Sep 2013 12:10:12 +0000 (12:10 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 16 Sep 2013 12:10:12 +0000 (12:10 +0000)
git-svn-id: https://svn.dealii.org/trunk@30728 0785d39b-7218-0410-832d-ea1e28bc413d

tests/benchmarks/test_hp/step.cc

index 8470da8a95a58689ff7a001ec713154ce18a4c54..5379a4cf04a319b1c04ce24058cb46deae6136c5 100644 (file)
@@ -421,7 +421,7 @@ template <int dim>
 void Step6<dim>::assemble_system ()
 {
   system_matrix = 0;
-  const QGauss<dim>  qformula(3);
+  const QGauss<dim>  qformula(fe.degree+1);
   
   FEValues<dim> fe_values (fe, qformula,
                            update_values    |  update_gradients |
@@ -494,7 +494,7 @@ void Step6<dim>::assemble_system_hp ()
 
   //  const QGauss<dim>  quadrature_formula(3);
   hp::QCollection<dim> qformulas;
-  qformulas.push_back(QGauss<dim>(2));
+  qformulas.push_back(QGauss<dim>(fe.degree+1));
   
   hp::FEValues<dim> hp_fe_values (hpfe, qformulas,
                            update_values    |  update_gradients |

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.