]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix bug in support_on_face
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Mon, 10 Feb 2014 21:38:36 +0000 (21:38 +0000)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Mon, 10 Feb 2014 21:38:36 +0000 (21:38 +0000)
git-svn-id: https://svn.dealii.org/trunk@32451 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/fe/fe_dgq.cc

index c3a5c523d59859f5e416fa42eac78abeec36344c..a61562b881b4aa7034c5f859991a4591bc952e96 100644 (file)
@@ -622,7 +622,7 @@ FE_DGQ<dim, spacedim>::has_support_on_face (const unsigned int shape_index,
       // (==face 0 in some sense), the
       // second on face 1:
       return (((shape_index == 0) && (face_index == 0)) ||
-              ((shape_index == 1) && (face_index == 1)));
+              ((shape_index == this->degree) && (face_index == 1)));
     };
 
     case 2:

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.