]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove bogus assertions.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 30 Jan 2004 15:19:04 +0000 (15:19 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 30 Jan 2004 15:19:04 +0000 (15:19 +0000)
git-svn-id: https://svn.dealii.org/trunk@8371 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/mapping_cartesian.cc

index 434ca0fdca30995da027b1f080f7e44e160e995f..447e33623b6c0ed6c9d0b20876e21856ca21b612 100644 (file)
@@ -211,9 +211,6 @@ MappingCartesian<dim>::compute_fill (const typename DoFHandler<dim>::cell_iterat
                                                          quadrature_points.size())
           ));
 
-//This assertion was nonsense, since we let npts = quadrature_points.size() above
-//      Assert (quadrature_points.size() == npts,
-//           ExcDimensionMismatch(quadrature_points.size(), npts));
       for (unsigned int i=0; i<quadrature_points.size(); ++i)
        {
          quadrature_points[i] = start;
@@ -233,11 +230,6 @@ MappingCartesian<dim>::compute_fill (const typename DoFHandler<dim>::cell_iterat
                                   // value
   if (update_flags & update_normal_vectors)
     {
-// We would like to have an assertion like this, but if
-// we do not compute quadrature points, npts is zero.
-      
-//      Assert (normal_vectors.size() == npts,
-//           ExcDimensionMismatch(normal_vectors.size(), npts));
       Assert (face_no < GeometryInfo<dim>::faces_per_cell,
               ExcInternalError());
       
@@ -280,6 +272,7 @@ MappingCartesian<dim>::compute_fill (const typename DoFHandler<dim>::cell_iterat
 }
 
 
+
 template <int dim>
 void
 MappingCartesian<dim>::

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.