From 42c281e31e555739dbd067a3cba6947114854af3 Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Thu, 12 Feb 2015 22:07:00 +0000 Subject: [PATCH] Export the type DerivativeOfProjection Which is the type returned by the derivativeOfProjection method. [[Imported from SVN: r10067]] --- 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 87875bf6..298d613f 100644 --- a/dune/gfe/unitvector.hh +++ b/dune/gfe/unitvector.hh @@ -86,6 +86,9 @@ public: /** \brief The global convexity radius of the unit sphere */ static constexpr double convexityRadius = 0.5*M_PI; + /** \brief The return type of the derivativeOfProjection method */ + typedef Dune::FieldMatrix<T, N, N> DerivativeOfProjection; + /** \brief Default constructor */ UnitVector() {} @@ -374,7 +377,7 @@ public: return result; } - static Dune::FieldMatrix<T, N, N> derivativeOfProjection(const Dune::FieldVector<T,N>& p) + static DerivativeOfProjection derivativeOfProjection(const Dune::FieldVector<T,N>& p) { Dune::FieldMatrix<T,N,N> result; for (int i=0; i<N; i++) -- GitLab