From: Guido Kanschat Date: Tue, 25 May 2004 12:19:01 +0000 (+0000) Subject: additional exception removed X-Git-Tag: v8.0.0~15129 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f8acaadea48f458dbbf61723b292bab76ac1b8d;p=dealii.git additional exception removed git-svn-id: https://svn.dealii.org/trunk@9316 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/fe/fe_base.h b/deal.II/deal.II/include/fe/fe_base.h index d1efdf0505..551f7058df 100644 --- a/deal.II/deal.II/include/fe/fe_base.h +++ b/deal.II/deal.II/include/fe/fe_base.h @@ -231,12 +231,6 @@ class FiniteElementData * Comparison operator. */ bool operator == (const FiniteElementData &) const; - - /** - * Exception - */ - DeclException2 (ExcSpaceDimensionMismatch, int, int, - << "used " << arg1 << "-d function for " << arg2 << "-d object"); }; diff --git a/deal.II/deal.II/source/fe/fe_dgq.cc b/deal.II/deal.II/source/fe/fe_dgq.cc index dd82396ff2..c679cc49bf 100644 --- a/deal.II/deal.II/source/fe/fe_dgq.cc +++ b/deal.II/deal.II/source/fe/fe_dgq.cc @@ -418,8 +418,7 @@ FE_DGQ::rotate_indices (std::vector &numbers, // Rotate yz-plane // counter-clockwise case 'x': - Assert (dim>2, - typename FiniteElementData::ExcSpaceDimensionMismatch (dim,3)); + Assert (dim>2, ExcDimensionMismatch (dim,3)); for (unsigned int iz=0;iz::rotate_indices (std::vector &numbers, // Rotate yz-plane // clockwise case 'X': - Assert (dim>2, - typename FiniteElementData::ExcSpaceDimensionMismatch (dim,3)); + Assert (dim>2, ExcDimensionMismatch (dim,3)); for (unsigned int iz=0;iz &mapping, if (face_no==invalid_face_number) { - Assert(dim_1==dim, - typename FiniteElementData:: - ExcSpaceDimensionMismatch(dim_1,dim)); + Assert(dim_1==dim, ExcDimensionMismatch(dim_1,dim)); cell_quadrature = dynamic_cast *>(quadrature_base_pointer); Assert (cell_quadrature != 0, ExcInternalError()); } else { - Assert(dim_1==dim-1, - typename FiniteElementData:: - ExcSpaceDimensionMismatch(dim_1,dim-1)); + Assert(dim_1==dim-1, ExcDimensionMismatch(dim_1,dim-1)); face_quadrature = dynamic_cast *>(quadrature_base_pointer); Assert (face_quadrature != 0, ExcInternalError());