From 0d9e0c2664aff3727b56d1836d13c989748a8726 Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Tue, 1 Jan 2013 16:20:32 +0000 Subject: [PATCH] implement method 'projectOntoTangentSpace [[Imported from SVN: r9081]] --- dune/gfe/hyperbolichalfspacepoint.hh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/dune/gfe/hyperbolichalfspacepoint.hh b/dune/gfe/hyperbolichalfspacepoint.hh index 33e6bdbf..e1ebf4db 100644 --- a/dune/gfe/hyperbolichalfspacepoint.hh +++ b/dune/gfe/hyperbolichalfspacepoint.hh @@ -322,11 +322,9 @@ public: } - /** \brief Project tangent vector of R^n onto the tangent space */ + /** \brief Project tangent vector of R^n onto the tangent space. For H^m this is the identity */ EmbeddedTangentVector projectOntoTangentSpace(const EmbeddedTangentVector& v) const { - EmbeddedTangentVector result = v; - result.axpy(-1*(data_*result), data_); - return result; + return v; } /** \brief The global coordinates, if you really want them */ -- GitLab