* Comparison operator.
*/
bool operator == (const FiniteElementData<dim> &) const;
-
- /**
- * Exception
- */
- DeclException2 (ExcSpaceDimensionMismatch, int, int,
- << "used " << arg1 << "-d function for " << arg2 << "-d object");
};
// 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)
// 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)
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());