Skip to content
Snippets Groups Projects
Commit 957622de authored by Youett, Jonathan's avatar Youett, Jonathan Committed by akbib@FU-BERLIN.DE
Browse files

make global gfe functions inherit from virtualgridfunction.

[[Imported from SVN: r7946]]
parent 4d64dcda
Branches
No related tags found
No related merge requests found
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#include <dune/gfe/localgeodesicfefunction.hh> #include <dune/gfe/localgeodesicfefunction.hh>
#include <dune/fufem/functions/virtualgridfunction.hh>
/** \brief Global geodesic finite element function. /** \brief Global geodesic finite element function.
* *
...@@ -16,7 +17,7 @@ ...@@ -16,7 +17,7 @@
* \tparam CoefficientType - The coefficient vector type. * \tparam CoefficientType - The coefficient vector type.
*/ */
template<class Basis, class TargetSpace, class CoefficientType> template<class Basis, class TargetSpace, class CoefficientType>
GlobalGeodesicFEFunction { GlobalGeodesicFEFunction : public VirtualGridFunction<typename Basis::GridView::Grid, TargetSpace> {
typedef typename Basis::LocalFiniteElement LocalFiniteElement; typedef typename Basis::LocalFiniteElement LocalFiniteElement;
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
#include <dune/gfe/localgfetestfunction.hh> #include <dune/gfe/localgfetestfunction.hh>
#include <dune/fufem/functions/virtualgridfunction.hh>
/** \brief Global geodesic finite element test function. /** \brief Global geodesic finite element test function.
* *
...@@ -18,7 +19,7 @@ ...@@ -18,7 +19,7 @@
* \tparam CoefficientType - The coefficient vector type. * \tparam CoefficientType - The coefficient vector type.
*/ */
template<class Basis, class TargetSpace, class CoefficientType> 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::LocalFiniteElement LocalFiniteElement;
typedef typename Basis::GridView GridView; typedef typename Basis::GridView GridView;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment