]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Rename ExcDimensionMismatch to ExcSpaceDimensionMismatch since the old
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 12 Mar 2001 08:20:57 +0000 (08:20 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 12 Mar 2001 08:20:57 +0000 (08:20 +0000)
name led to clashes with StandardExceptions::ExcDimensionMismatch when
not compiling with -pedantic -ansi.

git-svn-id: https://svn.dealii.org/trunk@4186 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/fe/fe_base.h
deal.II/deal.II/source/fe/fe_dgq.cc
deal.II/deal.II/source/fe/fe_system.cc

index 21ed7045d04e3678920d5c06b571767845e7aa37..2bd0fd4703376b070025e99033b38b4f1d1ca7ae 100644 (file)
@@ -187,8 +187,8 @@ class FiniteElementData
                                     /**
                                      * Exception
                                      */
-    DeclException2 (ExcDimensionMismatch, int, int,
-                   << "used " << arg1 << "-d constructor for " << arg2 << "-d object");
+    DeclException2 (ExcSpaceDimensionMismatch, int, int,
+                   << "used " << arg1 << "-d function for " << arg2 << "-d object");
 };
 
 
index aacb259c4bc661ae74af40fddfc28c3fb425c503..bd52783cae78a93f4362f2fbd9c5da7961a6555f 100644 (file)
@@ -321,7 +321,7 @@ FE_DGQ<dim>::rotate_indices (std::vector<unsigned int> &numbers,
                                                 // Rotate yz-plane
                                                 // counter-clockwise
          case 'x':
-               Assert (dim>2, ExcDimensionMismatch (dim,3));
+               Assert (dim>2, ExcSpaceDimensionMismatch (dim,3));
                for (unsigned int iz=0;iz<n;++iz)
                  for (unsigned int iy=0;iy<n;++iy)
                    for (unsigned int ix=0;ix<n;++ix)
@@ -333,7 +333,7 @@ FE_DGQ<dim>::rotate_indices (std::vector<unsigned int> &numbers,
                                                 // Rotate yz-plane
                                                 // clockwise
          case 'X':
-               Assert (dim>2, ExcDimensionMismatch (dim,3));
+               Assert (dim>2, ExcSpaceDimensionMismatch (dim,3));
                for (unsigned int iz=0;iz<n;++iz)
                  for (unsigned int iy=0;iy<n;++iy)
                    for (unsigned int ix=0;ix<n;++ix)
index 26289a5af6d619804fa601faaf4eeb7841aa99c7..fffc92cdd5824699ea74c3a4bbe0cc8c69a06fc1 100644 (file)
@@ -484,13 +484,13 @@ FESystem<dim>::compute_fill (const Mapping<dim>                   &mapping,
 
       if (face_no==invalid_face_number)
        {
-         Assert(dim_1==dim, ExcDimensionMismatch(dim_1,dim));
+         Assert(dim_1==dim, ExcSpaceDimensionMismatch(dim_1,dim));
          cell_quadrature=dynamic_cast<const Quadrature<dim> *>(quadrature_base_pointer);
          Assert (cell_quadrature != 0, ExcInternalError());
        }
       else
        {
-         Assert(dim_1==dim-1, ExcDimensionMismatch(dim_1,dim-1));
+         Assert(dim_1==dim-1, ExcSpaceDimensionMismatch(dim_1,dim-1));
          face_quadrature=dynamic_cast<const Quadrature<dim-1> *>(quadrature_base_pointer);
          Assert (face_quadrature != 0, ExcInternalError());
        }

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.