From c8668e78decfb6921fd32e6aafb10cc23ee43519 Mon Sep 17 00:00:00 2001
From: Jonathan Youett <youett@mi.fu-berlin.de>
Date: Wed, 19 Oct 2011 14:40:05 +0000
Subject: [PATCH] adapt to new structure

[[Imported from SVN: r7962]]
---
 test/globalgfetestfunctionbasistest.cc | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/test/globalgfetestfunctionbasistest.cc b/test/globalgfetestfunctionbasistest.cc
index 2c59d87e..06d45050 100644
--- a/test/globalgfetestfunctionbasistest.cc
+++ b/test/globalgfetestfunctionbasistest.cc
@@ -38,7 +38,7 @@ void test()
     // make global basis
     typedef P1NodalBasis<typename OneDGrid::LeafGridView> P1Basis;
     P1Basis p1Basis(grid.leafView());
-    typedef GlobalGFETestFunctionBasis<P1Basis,TargetSpace> GlobalBasis;
+    typedef GlobalGFETestFunctionBasis<P1Basis,TargetSpace, std::vector<TargetSpace> > GlobalBasis;
     GlobalBasis basis(p1Basis,testPoints);
 
     typedef typename OneDGrid::Codim<0>::LeafIterator ElementIterator; 
@@ -52,8 +52,10 @@ void test()
         FieldVector<double,1> stupidTestPoint(0);
         std::vector<Dune::array<typename TargetSpace::EmbeddedTangentVector, TargetSpace::TangentVector::dimension> > values;
         lfe.localBasis().evaluateFunction(stupidTestPoint, values);
-        for(size_t i=0;i<values.size();i++)
+        for(size_t i=0;i<values.size();i++) {
             std::cout<<values[i]<<std::endl;
+            std::cout<<lfe.localCoefficients().localKey(i)<<std::endl;
+        }
         //int i = basis.index(*eIt,1);
     }
 
-- 
GitLab