template <int dim>
double
InterpolatedTensorProductGridData<dim>::value(
- const Point<dim> &p,
- const unsigned int component) const
+ const Point<dim> &p,
+ [[maybe_unused]] const unsigned int component) const
{
- (void)component;
Assert(
component == 0,
ExcMessage(
template <int dim>
Tensor<1, dim>
InterpolatedTensorProductGridData<dim>::gradient(
- const Point<dim> &p,
- const unsigned int component) const
+ const Point<dim> &p,
+ [[maybe_unused]] const unsigned int component) const
{
- (void)component;
Assert(
component == 0,
ExcMessage(
template <int dim>
double
- InterpolatedUniformGridData<dim>::value(const Point<dim> &p,
- const unsigned int component) const
+ InterpolatedUniformGridData<dim>::value(
+ const Point<dim> &p,
+ [[maybe_unused]] const unsigned int component) const
{
- (void)component;
Assert(
component == 0,
ExcMessage(
template <int dim>
Tensor<1, dim>
- InterpolatedUniformGridData<dim>::gradient(const Point<dim> &p,
- const unsigned int component) const
+ InterpolatedUniformGridData<dim>::gradient(
+ const Point<dim> &p,
+ [[maybe_unused]] const unsigned int component) const
{
- (void)component;
Assert(
component == 0,
ExcMessage(
template <int dim>
double
- Polynomial<dim>::value(const Point<dim> &p,
- const unsigned int component) const
+ Polynomial<dim>::value(const Point<dim> &p,
+ [[maybe_unused]] const unsigned int component) const
{
- (void)component;
AssertIndexRange(component, 1);
double sum = 0;
template <int dim>
Tensor<1, dim>
- Polynomial<dim>::gradient(const Point<dim> &p,
- const unsigned int component) const
+ Polynomial<dim>::gradient(const Point<dim> &p,
+ [[maybe_unused]] const unsigned int component) const
{
- (void)component;
AssertIndexRange(component, 1);
Tensor<1, dim> r;