Skip to content
Snippets Groups Projects
Commit 7cb849b5 authored by Oliver Sander's avatar Oliver Sander Committed by sander@PCPOOL.MI.FU-BERLIN.DE
Browse files

add infinitesimal variation of a RealTuple

[[Imported from SVN: r5785]]
parent 9053dd97
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment