diff --git a/src/localgeodesicfestiffness.hh b/src/localgeodesicfestiffness.hh index d21b23cb2357a300e213f3b8f9635a9ae208d858..7b9f5b5394451f428fc024024016b93ac63c5198 100644 --- a/src/localgeodesicfestiffness.hh +++ b/src/localgeodesicfestiffness.hh @@ -52,6 +52,13 @@ class LocalGeodesicFEStiffness (i==2)*eps)); } + static void infinitesimalVariation(RealTuple<2>& c, double eps, int i) + { + Dune::FieldVector<double,2> v(0); + v[i] = eps; + c = RealTuple<2>::exp(c,v); + } + public: //! Each block is x, y, theta in 2d, T (R^3 \times SO(3)) in 3d