diff --git a/src/rigidbodymotion.hh b/src/rigidbodymotion.hh index 58e0adc81c735ecacec1f0554001fb69f7b69491..1017e0da389c5f7499d97af47de35329d6d234a9 100644 --- a/src/rigidbodymotion.hh +++ b/src/rigidbodymotion.hh @@ -5,11 +5,14 @@ #include "rotation.hh" /** \brief A rigid-body motion in, R^d, i.e., a member of SE(d) */ -template <int dim, class ctype=double> +template <int dim, class T=double> struct RigidBodyMotion { /** \brief Type of an infinitesimal rigid body motion */ - typedef Dune::FieldVector<ctype, dim + Rotation<dim,ctype>::TangentVector::size> TangentVector; + typedef Dune::FieldVector<T, dim + Rotation<dim,T>::TangentVector::size> TangentVector; + + /** \brief The type used for coordinates */ + typedef T ctype; /** \brief The exponential map from a given point $p \in SE(d)$. */ static RigidBodyMotion<dim,ctype> exp(const RigidBodyMotion<dim,ctype>& p, const TangentVector& v) {