From b42333b363420ee88e10200e8721c3b00ee27661 Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Mon, 30 May 2011 14:52:32 +0000
Subject: [PATCH] Add method 'orthonormalFrame' to Rotation<2>

[[Imported from SVN: r7351]]
---
 dune/gfe/rotation.hh | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/dune/gfe/rotation.hh b/dune/gfe/rotation.hh
index 02aa4641..40a7591a 100644
--- a/dune/gfe/rotation.hh
+++ b/dune/gfe/rotation.hh
@@ -103,6 +103,14 @@ public:
         return q;
     }
 
+    /** \brief Compute an orthonormal basis of the tangent space of SO(3).
+
+    This basis is of course not globally continuous.
+    */
+    Dune::FieldMatrix<T,1,1> orthonormalFrame() const {
+        return Dune::FieldMatrix<T,1,1>(1);
+    }
+    
     //private:
 
     // We store the rotation as an angle
-- 
GitLab