double InitialValuesU<dim>::value (const Point<dim> &/*p*/,
const unsigned int component) const
{
- Assert (component == 0, ExcInternalError());
+ (void) component;
+ Assert(component == 0, ExcIndexRange(component, 0, 1));
return 0;
}
double InitialValuesV<dim>::value (const Point<dim> &/*p*/,
const unsigned int component) const
{
- Assert (component == 0, ExcInternalError());
+ (void) component;
+ Assert(component == 0, ExcIndexRange(component, 0, 1));
return 0;
}
double RightHandSide<dim>::value (const Point<dim> &/*p*/,
const unsigned int component) const
{
- Assert (component == 0, ExcInternalError());
+ (void) component;
+ Assert(component == 0, ExcIndexRange(component, 0, 1));
return 0;
}
double BoundaryValuesU<dim>::value (const Point<dim> &p,
const unsigned int component) const
{
- Assert (component == 0, ExcInternalError());
+ (void) component;
+ Assert(component == 0, ExcIndexRange(component, 0, 1));
if ((this->get_time() <= 0.5) &&
(p[0] < 0) &&
double BoundaryValuesV<dim>::value (const Point<dim> &p,
const unsigned int component) const
{
- Assert (component == 0, ExcInternalError());
+ (void) component;
+ Assert(component == 0, ExcIndexRange(component, 0, 1));
if ((this->get_time() <= 0.5) &&
(p[0] < 0) &&