From 64e934f2579478844ae950ce2dc1ccf8f11d5a3a Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Mon, 11 Feb 2019 01:52:05 +0100 Subject: [PATCH] Remove warnings generated by step-61 --- examples/step-61/step-61.cc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/examples/step-61/step-61.cc b/examples/step-61/step-61.cc index 90ed9c019b..13866adf30 100644 --- a/examples/step-61/step-61.cc +++ b/examples/step-61/step-61.cc @@ -113,6 +113,7 @@ public: Coefficient() : TensorFunction<2, dim>() {} + virtual void value_list(const std::vector> &points, std::vector> & values) const override; }; @@ -138,6 +139,7 @@ public: BoundaryValues() : Function(2) {} + virtual double value(const Point & p, const unsigned int component = 0) const override; }; @@ -156,8 +158,9 @@ public: RightHandSide() : Function() {} + virtual double value(const Point & p, - const unsigned int component = 0) const; + const unsigned int component = 0) const override; }; template @@ -176,7 +179,8 @@ public: Solution() : Function(1) {} - virtual double value(const Point &p, const unsigned int) const; + + virtual double value(const Point &p, const unsigned int) const override; }; template @@ -194,6 +198,7 @@ public: Velocity() : TensorFunction<1, dim>() {} + virtual Tensor<1, dim> value(const Point &p) const override; }; -- 2.39.5