From 2e6e7cf6c155b1b36394443e384ac8147d07bc2c Mon Sep 17 00:00:00 2001 From: Jonathan Youett <youett@mi.fu-berlin.de> Date: Thu, 8 Aug 2013 11:21:49 +0000 Subject: [PATCH] add method to set the material parameter [[Imported from SVN: r11886]] --- .../materials/geomexactstvenantkirchhoffmaterial.hh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dune/elasticity/materials/geomexactstvenantkirchhoffmaterial.hh b/dune/elasticity/materials/geomexactstvenantkirchhoffmaterial.hh index 82a00de..0b57dfe 100644 --- a/dune/elasticity/materials/geomexactstvenantkirchhoffmaterial.hh +++ b/dune/elasticity/materials/geomexactstvenantkirchhoffmaterial.hh @@ -49,6 +49,12 @@ public: nu_(nu) {} + void setMaterialParameter(ctype E, ctype nu) + { + E_ = E; + nu_ = nu; + } + void setup(ctype E, ctype nu, const Basis& basis) { E_ = E; -- GitLab