From 248e32478785820313ca2d18f665baba03209bc1 Mon Sep 17 00:00:00 2001
From: Jonathan Youett <youett@math.fu-berlin.de>
Date: Wed, 10 Oct 2018 11:47:01 +0200
Subject: [PATCH] Make method non-virtual

---
 dune/elasticity/common/referenceneumannfunction.hh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dune/elasticity/common/referenceneumannfunction.hh b/dune/elasticity/common/referenceneumannfunction.hh
index 945aae9..f81df2c 100644
--- a/dune/elasticity/common/referenceneumannfunction.hh
+++ b/dune/elasticity/common/referenceneumannfunction.hh
@@ -36,8 +36,9 @@ public:
     displacementField_(basis, displacementCoefficient)
   {}
 
-  virtual void evaluateLocal(const Element& e, const LocalDomainType& x, RangeType& y) const override
+  void evaluateLocal(const Element& e, const LocalDomainType& x, RangeType& y) const override
   {
+
     typename Base::DerivativeType deformationGradient, invTransposedDefGradient;
     displacementField_.evaluateDerivativeLocal(e, x, deformationGradient);
     Dune::MatrixVector::addToDiagonal(deformationGradient, 1.0);
-- 
GitLab