From 957622dee624f17613ade2764e03fc04b03eab04 Mon Sep 17 00:00:00 2001 From: Jonathan Youett <youett@mi.fu-berlin.de> Date: Wed, 19 Oct 2011 08:25:37 +0000 Subject: [PATCH] make global gfe functions inherit from virtualgridfunction. [[Imported from SVN: r7946]] --- dune/gfe/globalgeodesicfefunction.hh | 3 ++- dune/gfe/globalgfetestfunction.hh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dune/gfe/globalgeodesicfefunction.hh b/dune/gfe/globalgeodesicfefunction.hh index 914c376d..26603090 100644 --- a/dune/gfe/globalgeodesicfefunction.hh +++ b/dune/gfe/globalgeodesicfefunction.hh @@ -8,6 +8,7 @@ #include <dune/gfe/localgeodesicfefunction.hh> +#include <dune/fufem/functions/virtualgridfunction.hh> /** \brief Global geodesic finite element function. * @@ -16,7 +17,7 @@ * \tparam CoefficientType - The coefficient vector type. */ template<class Basis, class TargetSpace, class CoefficientType> -GlobalGeodesicFEFunction { +GlobalGeodesicFEFunction : public VirtualGridFunction<typename Basis::GridView::Grid, TargetSpace> { typedef typename Basis::LocalFiniteElement LocalFiniteElement; diff --git a/dune/gfe/globalgfetestfunction.hh b/dune/gfe/globalgfetestfunction.hh index f026b6f5..453b9737 100644 --- a/dune/gfe/globalgfetestfunction.hh +++ b/dune/gfe/globalgfetestfunction.hh @@ -10,6 +10,7 @@ #include <dune/gfe/localgfetestfunction.hh> +#include <dune/fufem/functions/virtualgridfunction.hh> /** \brief Global geodesic finite element test function. * @@ -18,7 +19,7 @@ * \tparam CoefficientType - The coefficient vector type. */ template<class Basis, class TargetSpace, class CoefficientType> -GlobalGFETestFunction { +GlobalGFETestFunction : public VirtualGridFunction<typename Basis::GridView::Grid, typename TargetSpace::EmbeddedTangentVector> { typedef typename Basis::LocalFiniteElement LocalFiniteElement; typedef typename Basis::GridView GridView; -- GitLab