]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add an assertion.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 13 Jun 2002 13:36:21 +0000 (13:36 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 13 Jun 2002 13:36:21 +0000 (13:36 +0000)
git-svn-id: https://svn.dealii.org/trunk@6097 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe_q.cc

index 37a0d34288904034167c980fba08e07de7fed87a..991d38236ab9c04b37bf0db32a40828c2ada0d35 100644 (file)
@@ -1327,6 +1327,8 @@ FE_Q<dim>::has_support_on_face (const unsigned int shape_index_,
   else
                                     // more dimensions
     {
+      Assert (dim<=3, ExcNotImplemented());
+      
       const unsigned int cell_start = (dim==2)
                                      ? first_quad_index
                                      : first_hex_index;

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.