From 5de5af511f3032bdf5589a7104b8fce754c32305 Mon Sep 17 00:00:00 2001 From: Jonathan Youett <youett@mi.fu-berlin.de> Date: Tue, 23 Apr 2013 10:22:24 +0000 Subject: [PATCH] remove wrong scaling of the energy [[Imported from SVN: r11301]] --- dune/elasticity/materials/neohookeanmaterial.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dune/elasticity/materials/neohookeanmaterial.hh b/dune/elasticity/materials/neohookeanmaterial.hh index 723c664..778efc5 100644 --- a/dune/elasticity/materials/neohookeanmaterial.hh +++ b/dune/elasticity/materials/neohookeanmaterial.hh @@ -131,7 +131,7 @@ public: } } - return 0.5*energy; + return energy; } //! Return the local assembler of the first derivative of the strain energy -- GitLab