From 39b36f992e385a344f156560d14a7be8cdf063ae Mon Sep 17 00:00:00 2001
From: Jonathan Youett <youett@mi.fu-berlin.de>
Date: Thu, 20 Oct 2011 10:31:42 +0000
Subject: [PATCH] export the base coefficients

[[Imported from SVN: r7973]]
---
 dune/gfe/globalgfetestfunctionbasis.hh | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/dune/gfe/globalgfetestfunctionbasis.hh b/dune/gfe/globalgfetestfunctionbasis.hh
index 8ddc5036..03b9e04f 100644
--- a/dune/gfe/globalgfetestfunctionbasis.hh
+++ b/dune/gfe/globalgfetestfunctionbasis.hh
@@ -11,10 +11,11 @@
  *  The other LocalFiniteElement methods are not wrapped/implemented by now but it shouldn't be too difficult to do so when they are
  *  needed.
  */
-template <class Basis, class TargetSpace, class CoefficientType>
+template <class Basis, class TargetSpace, class C>
 class GlobalGFETestFunctionBasis : public FunctionSpaceBasis<typename Basis::GridView, typename TargetSpace::EmbeddedTangentVector, LocalGfeTestFunctionFiniteElement<typename Basis::LocalFiniteElement, TargetSpace> > {
 
 public:
+    typedef C CoefficientType;
     typedef typename Basis::GridView GridView;
     typedef LocalGfeTestFunctionFiniteElement<typename Basis::LocalFiniteElement, TargetSpace> LocalFiniteElement; 
 private:
@@ -70,6 +71,11 @@ public:
         return basis_.index(e,i);   
     }
 
+    /** \brief Get the base coefficients. */
+    const CoefficientType& getBaseCoefficients() const
+    {
+        return baseCoefficients_;
+    }
 
 private:
     //! The global basis determining the weights
-- 
GitLab