From d4f67153372e7a6f185cee3b62685b71eecfb47d Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Tue, 23 Mar 2010 06:22:21 +0000 Subject: [PATCH] infinitesimalVariation for Rotation<2> [[Imported from SVN: r5789]] --- src/localgeodesicfestiffness.hh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/localgeodesicfestiffness.hh b/src/localgeodesicfestiffness.hh index 7b9f5b53..d22b9181 100644 --- a/src/localgeodesicfestiffness.hh +++ b/src/localgeodesicfestiffness.hh @@ -52,6 +52,12 @@ class LocalGeodesicFEStiffness (i==2)*eps)); } + static void infinitesimalVariation(Rotation<2,double>& c, double eps, int i) + { + Dune::FieldVector<double,1> v(eps); + c = Rotation<2,double>::exp(c,v); + } + static void infinitesimalVariation(RealTuple<2>& c, double eps, int i) { Dune::FieldVector<double,2> v(0); -- GitLab