]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Exclude highest polynomial if there is an order difference
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 11 Aug 2006 18:03:47 +0000 (18:03 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 11 Aug 2006 18:03:47 +0000 (18:03 +0000)
git-svn-id: https://svn.dealii.org/trunk@13677 0785d39b-7218-0410-832d-ea1e28bc413d

tests/deal.II/project_common.cc

index a817111468f6111b1075d254122f16e17b061254..2b01bfac8017084db0db3abf79bddc5833ef8447 100644 (file)
@@ -117,7 +117,7 @@ void test_no_hanging_nodes (const FiniteElement<dim> &fe,
 
   Vector<double> projection (dof_handler.n_dofs());
   Vector<float>  error (triangulation.n_active_cells());
-  for (unsigned int q=0; q<=p+2; ++q)
+  for (unsigned int q=0; q<=p+2-order_difference; ++q)
     {
                                       // project the function
       VectorTools::project (dof_handler,

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.