]> https://gitweb.dealii.org/ - dealii.git/commitdiff
allow zero length Quadrature rules
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Tue, 27 Dec 2005 19:07:30 +0000 (19:07 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Tue, 27 Dec 2005 19:07:30 +0000 (19:07 +0000)
git-svn-id: https://svn.dealii.org/trunk@11927 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/quadrature.cc

index 82ea10678c5317302ff9e6be5df68e29357fd591..f295340442e96f9aa7593a822b2d2391a7637ff5 100644 (file)
@@ -1001,8 +1001,7 @@ face (const unsigned int face_no,
   Assert (dim != 1, ExcInternalError());
   Assert (face_no < GeometryInfo<dim>::faces_per_cell,
           ExcInternalError());
-  Assert (n_quadrature_points > 0, ExcInternalError());
-    
+  
   switch (dim)
     {
       case 1:
@@ -1045,8 +1044,7 @@ sub_face (const unsigned int face_no,
                                    // that we get a warning in 1d
   Assert (subface_no+1 < GeometryInfo<dim>::subfaces_per_face+1,
           ExcInternalError());
-  Assert (n_quadrature_points > 0, ExcInternalError());
-
+  
   switch (dim)
     {
       case 1:

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.