template <int dim>
double
- FourierCosineFunction<dim>::value(
- const Point<dim> &p,
- [[maybe_unused]] const unsigned int component) const
+ FourierCosineFunction<dim>::value(const Point<dim> &p,
+ const unsigned int component) const
{
AssertIndexRange(component, 1);
return std::cos(fourier_coefficients * p);
template <int dim>
Tensor<1, dim>
- FourierCosineFunction<dim>::gradient(
- const Point<dim> &p,
- [[maybe_unused]] const unsigned int component) const
+ FourierCosineFunction<dim>::gradient(const Point<dim> &p,
+ const unsigned int component) const
{
AssertIndexRange(component, 1);
return -fourier_coefficients * std::sin(fourier_coefficients * p);
template <int dim>
double
- FourierCosineFunction<dim>::laplacian(
- const Point<dim> &p,
- [[maybe_unused]] const unsigned int component) const
+ FourierCosineFunction<dim>::laplacian(const Point<dim> &p,
+ const unsigned int component) const
{
AssertIndexRange(component, 1);
return (fourier_coefficients * fourier_coefficients) *
template <int dim>
double
- FourierSineFunction<dim>::value(
- const Point<dim> &p,
- [[maybe_unused]] const unsigned int component) const
+ FourierSineFunction<dim>::value(const Point<dim> &p,
+ const unsigned int component) const
{
AssertIndexRange(component, 1);
return std::sin(fourier_coefficients * p);
template <int dim>
Tensor<1, dim>
- FourierSineFunction<dim>::gradient(
- const Point<dim> &p,
- [[maybe_unused]] const unsigned int component) const
+ FourierSineFunction<dim>::gradient(const Point<dim> &p,
+ const unsigned int component) const
{
AssertIndexRange(component, 1);
return fourier_coefficients * std::cos(fourier_coefficients * p);
template <int dim>
double
- FourierSineFunction<dim>::laplacian(
- const Point<dim> &p,
- [[maybe_unused]] const unsigned int component) const
+ FourierSineFunction<dim>::laplacian(const Point<dim> &p,
+ const unsigned int component) const
{
AssertIndexRange(component, 1);
return (fourier_coefficients * fourier_coefficients) *
template <int dim>
double
- FourierSineSum<dim>::value(
- const Point<dim> &p,
- [[maybe_unused]] const unsigned int component) const
+ FourierSineSum<dim>::value(const Point<dim> &p,
+ const unsigned int component) const
{
AssertIndexRange(component, 1);
template <int dim>
Tensor<1, dim>
- FourierSineSum<dim>::gradient(
- const Point<dim> &p,
- [[maybe_unused]] const unsigned int component) const
+ FourierSineSum<dim>::gradient(const Point<dim> &p,
+ const unsigned int component) const
{
AssertIndexRange(component, 1);
template <int dim>
double
- FourierSineSum<dim>::laplacian(
- const Point<dim> &p,
- [[maybe_unused]] const unsigned int component) const
+ FourierSineSum<dim>::laplacian(const Point<dim> &p,
+ const unsigned int component) const
{
AssertIndexRange(component, 1);
template <int dim>
double
- FourierCosineSum<dim>::value(
- const Point<dim> &p,
- [[maybe_unused]] const unsigned int component) const
+ FourierCosineSum<dim>::value(const Point<dim> &p,
+ const unsigned int component) const
{
AssertIndexRange(component, 1);
template <int dim>
Tensor<1, dim>
- FourierCosineSum<dim>::gradient(
- const Point<dim> &p,
- [[maybe_unused]] const unsigned int component) const
+ FourierCosineSum<dim>::gradient(const Point<dim> &p,
+ const unsigned int component) const
{
AssertIndexRange(component, 1);
template <int dim>
double
- FourierCosineSum<dim>::laplacian(
- const Point<dim> &p,
- [[maybe_unused]] const unsigned int component) const
+ FourierCosineSum<dim>::laplacian(const Point<dim> &p,
+ const unsigned int component) const
{
AssertIndexRange(component, 1);
template <int dim, typename Number>
Number
- Monomial<dim, Number>::value(
- const Point<dim> &p,
- [[maybe_unused]] const unsigned int component) const
+ Monomial<dim, Number>::value(const Point<dim> &p,
+ const unsigned int component) const
{
AssertIndexRange(component, this->n_components);
template <int dim, typename Number>
Tensor<1, dim, Number>
- Monomial<dim, Number>::gradient(
- const Point<dim> &p,
- [[maybe_unused]] const unsigned int component) const
+ Monomial<dim, Number>::gradient(const Point<dim> &p,
+ const unsigned int component) const
{
AssertIndexRange(component, 1);
template <int dim>
double
InterpolatedTensorProductGridData<dim>::value(
- const Point<dim> &p,
- [[maybe_unused]] const unsigned int component) const
+ const Point<dim> &p,
+ const unsigned int component) const
{
Assert(
component == 0,
template <int dim>
Tensor<1, dim>
InterpolatedTensorProductGridData<dim>::gradient(
- const Point<dim> &p,
- [[maybe_unused]] const unsigned int component) const
+ const Point<dim> &p,
+ const unsigned int component) const
{
Assert(
component == 0,
template <int dim>
double
- InterpolatedUniformGridData<dim>::value(
- const Point<dim> &p,
- [[maybe_unused]] const unsigned int component) const
+ InterpolatedUniformGridData<dim>::value(const Point<dim> &p,
+ const unsigned int component) const
{
Assert(
component == 0,
template <int dim>
Tensor<1, dim>
- InterpolatedUniformGridData<dim>::gradient(
- const Point<dim> &p,
- [[maybe_unused]] const unsigned int component) const
+ InterpolatedUniformGridData<dim>::gradient(const Point<dim> &p,
+ const unsigned int component) const
{
Assert(
component == 0,
template <int dim>
double
- Polynomial<dim>::value(const Point<dim> &p,
- [[maybe_unused]] const unsigned int component) const
+ Polynomial<dim>::value(const Point<dim> &p,
+ const unsigned int component) const
{
AssertIndexRange(component, 1);
template <int dim>
Tensor<1, dim>
- Polynomial<dim>::gradient(const Point<dim> &p,
- [[maybe_unused]] const unsigned int component) const
+ Polynomial<dim>::gradient(const Point<dim> &p,
+ const unsigned int component) const
{
AssertIndexRange(component, 1);