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
/**
* 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");
};
// 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)
// 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)
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());
}