From 6f7e0404896ca4d5ba7169874007f8c44ddfc65f Mon Sep 17 00:00:00 2001 From: Jonathan Youett <youett@math.fu-berlin.de> Date: Wed, 25 Mar 2015 16:55:23 +0100 Subject: [PATCH] Adjust to base class changes --- dune/elasticity/materials/neohookeanmaterial.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dune/elasticity/materials/neohookeanmaterial.hh b/dune/elasticity/materials/neohookeanmaterial.hh index 3ee3925..3107b44 100644 --- a/dune/elasticity/materials/neohookeanmaterial.hh +++ b/dune/elasticity/materials/neohookeanmaterial.hh @@ -146,10 +146,10 @@ class NeoHookeMaterial : public AdolcMaterial<Basis> typedef LocalNeoHookeanEnergy<GridType,Lfe> LocalEnergy; using Base::dim; - NeoHookeMaterial(const Basis& basis, ReturnType E, ReturnType nu) : + NeoHookeMaterial(const Basis& basis, ReturnType E, ReturnType nu, bool vectorMode=true) : localEnergy_(E,nu) { - this->setup(basis, localEnergy_); + this->setup(basis, localEnergy_,vectorMode); } using Base::energy; -- GitLab