From eea0da25a33a586acbd8d64ebfc10ef2a926e130 Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Sat, 13 Feb 2010 17:40:16 +0000
Subject: [PATCH] introduce method globalCoordinates()

[[Imported from SVN: r5563]]
---
 src/unitvector.hh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/unitvector.hh b/src/unitvector.hh
index 1fc9e8f9..f1b8186f 100644
--- a/src/unitvector.hh
+++ b/src/unitvector.hh
@@ -63,6 +63,11 @@ public:
         return result;
     }
 
+    /** \brief The global coordinates, if you really want them */
+    const Dune::FieldVector<double,dim>& globalCoordinates() const {
+        return data_;
+    }
+
     /** \brief Write LocalKey object to output stream */
     friend std::ostream& operator<< (std::ostream& s, const UnitVector& unitVector)
     {
-- 
GitLab