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

export tangent vector type

[[Imported from SVN: r4017]]
parent a08a636d
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,9 @@
template <int dim, class ctype=double>
struct RigidBodyMotion
{
/** \brief Type of an infinitesimal rigid body motion */
typedef Dune::FieldVector<ctype, (dim==3) ? 6 : 3> TangentVector;
// Translational part
Dune::FieldVector<ctype, dim> r;
......
......@@ -34,6 +34,9 @@ class Rotation<3,T> : public Quaternion<T>
public:
/** \brief Member of the corresponding Lie algebra. This really is a skew-symmetric matrix */
typedef Dune::FieldVector<T,3> TangentVector;
/** \brief Default constructor creates the identity element */
Rotation()
: Quaternion<T>(0,0,0,1)
......
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