From 8bd571a21bad7264b64387d8e32a6d24814c5580 Mon Sep 17 00:00:00 2001 From: Jonathan Youett <youett@mi.fu-berlin.de> Date: Fri, 9 Aug 2013 12:26:26 +0000 Subject: [PATCH] add getter for the material parameters [[Imported from SVN: r11899]] --- .../materials/geomexactstvenantkirchhoffmaterial.hh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dune/elasticity/materials/geomexactstvenantkirchhoffmaterial.hh b/dune/elasticity/materials/geomexactstvenantkirchhoffmaterial.hh index 0b57dfe..0735420 100644 --- a/dune/elasticity/materials/geomexactstvenantkirchhoffmaterial.hh +++ b/dune/elasticity/materials/geomexactstvenantkirchhoffmaterial.hh @@ -49,7 +49,14 @@ public: nu_(nu) {} - void setMaterialParameter(ctype E, ctype nu) + void getMaterialParameters(ctype& E, ctype& nu) + { + E = E_; + nu = nu_; + } + + + void setMaterialParameters(ctype E, ctype nu) { E_ = E; nu_ = nu; -- GitLab