From e33a128f1ec488f1c6cb93e95ab2f1f0655f13a3 Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Tue, 23 Mar 2010 05:45:19 +0000
Subject: [PATCH] Rotation<2>: export ctype and EmbeddedTangentVector

[[Imported from SVN: r5787]]
---
 src/rotation.hh | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/rotation.hh b/src/rotation.hh
index 28a0b155..187eeae7 100644
--- a/src/rotation.hh
+++ b/src/rotation.hh
@@ -20,14 +20,23 @@ class Rotation
 };
 
 /** \brief Specialization for dim==2
+    \tparam T The type used for coordinates
 */
 template <class T>
 class Rotation<2,T>
 {
 public:
+    /** \brief The type used for coordinates */
+    typedef T ctype;
+
     /** \brief Member of the corresponding Lie algebra.  This really is a skew-symmetric matrix */
     typedef Dune::FieldVector<T,1> TangentVector;
 
+    /** \brief Member of the corresponding Lie algebra.  This really is a skew-symmetric matrix
+
+    This vector is not really embedded in anything.  I have to make my notation more consistent! */
+    typedef Dune::FieldVector<T,1> EmbeddedTangentVector;
+
     /** \brief Default constructor, create the identity rotation */
     Rotation() 
         : angle_(0)
-- 
GitLab