From d88986dee966314c430cd95d4171b76a0050a80e Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Fri, 5 Nov 2010 13:02:15 +0000 Subject: [PATCH] export the type used for global coordinates [[Imported from SVN: r6496]] --- dune/gfe/unitvector.hh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dune/gfe/unitvector.hh b/dune/gfe/unitvector.hh index e7661110..ee4da9df 100644 --- a/dune/gfe/unitvector.hh +++ b/dune/gfe/unitvector.hh @@ -61,6 +61,9 @@ public: /** \brief Global coordinates wrt an isometric embedding function are available */ static const bool globalIsometricCoordinates = true; + /** \brief The type used for global coordinates */ + typedef Dune::FieldVector<double,N> CoordinateType; + /** \brief Dimension of the manifold formed by unit vectors */ static const int dim = N-1; @@ -279,7 +282,7 @@ public: } /** \brief The global coordinates, if you really want them */ - const Dune::FieldVector<double,N>& globalCoordinates() const { + const CoordinateType& globalCoordinates() const { return data_; } -- GitLab