From 87a55c801e47f21a12ba54f8537c9661cb2ce9b6 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 7 Apr 2023 15:19:31 -0600 Subject: [PATCH] Avoid a warning about overriden functions. --- parallel_in_time/src/HeatEquation.hh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/parallel_in_time/src/HeatEquation.hh b/parallel_in_time/src/HeatEquation.hh index 3013be4..b2a57bb 100644 --- a/parallel_in_time/src/HeatEquation.hh +++ b/parallel_in_time/src/HeatEquation.hh @@ -105,7 +105,7 @@ public: {} virtual double value (const Point &p, - const unsigned int component = 0) const; + const unsigned int component = 0) const override; private: const double period; @@ -118,7 +118,7 @@ class BoundaryValues : public Function { public: virtual double value (const Point &p, - const unsigned int component = 0) const; + const unsigned int component = 0) const override; }; // The RightHandSideMFG class describes the right hand side @@ -128,7 +128,7 @@ class RightHandSideMFG : public Function { public: virtual double value (const Point &p, - const unsigned int component = 0) const; + const unsigned int component = 0) const override; }; // The InitialValuesMFG class describes the initial values @@ -138,7 +138,7 @@ class InitialValuesMFG : public Function { public: virtual double value (const Point &p, - const unsigned int component = 0) const; + const unsigned int component = 0) const override; }; // Provides the exact value for the manufactured solution. This @@ -159,7 +159,7 @@ public: * \return double The exact value that was computed */ virtual double value (const Point &p, - const unsigned int component = 0) const; + const unsigned int component = 0) const override; /** * \brief Computes the gradient of the exact solution at the given point @@ -174,7 +174,7 @@ public: * in each spatial dimension */ virtual Tensor<1,dim> gradient (const Point &p, - const unsigned int component = 0) const; + const unsigned int component = 0) const override; }; -- 2.39.5