From 9386ed998b027e4a460916e95fd8683956c89bee Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Thu, 14 Oct 2010 15:34:31 +0000 Subject: [PATCH] export the manifold dimension as 'dim' [[Imported from SVN: r6436]] --- dune/gfe/realtuple.hh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dune/gfe/realtuple.hh b/dune/gfe/realtuple.hh index 5990be1b..c1bcb180 100644 --- a/dune/gfe/realtuple.hh +++ b/dune/gfe/realtuple.hh @@ -20,6 +20,9 @@ public: /** \brief Global coordinates wrt an isometric embedding function are available */ static const bool globalIsometricCoordinates = true; + /** \brief Dimension of the manifold formed by unit vectors */ + static const int dim = N; + typedef Dune::FieldVector<double,N> EmbeddedTangentVector; typedef Dune::FieldVector<double,N> TangentVector; -- GitLab