]> https://gitweb.dealii.org/ - dealii.git/commitdiff
additional exception removed
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Tue, 25 May 2004 12:19:01 +0000 (12:19 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Tue, 25 May 2004 12:19:01 +0000 (12:19 +0000)
git-svn-id: https://svn.dealii.org/trunk@9316 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 d1efdf05054c8b76fcf09d4ca949b45efc212584..551f7058df80d380730df50e5c2ba7948931d5ea 100644 (file)
@@ -231,12 +231,6 @@ class FiniteElementData
                                      * Comparison operator.
                                      */
     bool operator == (const FiniteElementData<dim> &) const;
-
-                                    /**
-                                     * Exception
-                                     */
-    DeclException2 (ExcSpaceDimensionMismatch, int, int,
-                   << "used " << arg1 << "-d function for " << arg2 << "-d object");
 };
 
 
index dd82396ff21ba08c92f66e51b50b2f287ccb8020..c679cc49bf4bf0d981d59420830d53c444c49a78 100644 (file)
@@ -418,8 +418,7 @@ FE_DGQ<dim>::rotate_indices (std::vector<unsigned int> &numbers,
                                             // Rotate yz-plane
                                             // counter-clockwise
          case 'x':
-           Assert (dim>2,
-                   typename FiniteElementData<dim>::ExcSpaceDimensionMismatch (dim,3));
+           Assert (dim>2, ExcDimensionMismatch (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)
@@ -431,8 +430,7 @@ FE_DGQ<dim>::rotate_indices (std::vector<unsigned int> &numbers,
                                             // Rotate yz-plane
                                             // clockwise
          case 'X':
-           Assert (dim>2, 
-                   typename FiniteElementData<dim>::ExcSpaceDimensionMismatch (dim,3));
+           Assert (dim>2, ExcDimensionMismatch (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 2f53858306ba599c050ef0b27a614c842195d4de..ad1acc86d257ebbc860d2719a611f33af7bcc67f 100644 (file)
@@ -804,18 +804,14 @@ compute_fill (const Mapping<dim>                   &mapping,
 
       if (face_no==invalid_face_number)
        {
-         Assert(dim_1==dim, 
-                typename FiniteElementData<dim>::
-                ExcSpaceDimensionMismatch(dim_1,dim));
+         Assert(dim_1==dim, ExcDimensionMismatch(dim_1,dim));
          cell_quadrature
             = dynamic_cast<const Quadrature<dim> *>(quadrature_base_pointer);
          Assert (cell_quadrature != 0, ExcInternalError());
        }
       else
        {
-         Assert(dim_1==dim-1, 
-                typename FiniteElementData<dim>::
-                ExcSpaceDimensionMismatch(dim_1,dim-1));
+         Assert(dim_1==dim-1, ExcDimensionMismatch(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.