diff --git a/dune/gfe/globalgfetestfunctionbasis.hh b/dune/gfe/globalgfetestfunctionbasis.hh index 8ddc5036836559d8a176b2bfaa569831d0db675f..03b9e04fa514522a8b96d3286f5b41f3b75042ac 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