Skip to content
Snippets Groups Projects
Commit 2d82850b authored by Oliver Sander's avatar Oliver Sander Committed by sander@FU-BERLIN.DE
Browse files

compile again after recent interface changes

[[Imported from SVN: r8048]]
parent ab914244
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
#include <dune/gfe/unitvector.hh> #include <dune/gfe/unitvector.hh>
#include <dune/gfe/localgeodesicfefunction.hh> #include <dune/gfe/localgeodesicfefunction.hh>
#include <dune/gfe/localgfetestfunction.hh> #include <dune/gfe/localgfetestfunctionbasis.hh>
#include "multiindex.hh" #include "multiindex.hh"
#include "valuefactory.hh" #include "valuefactory.hh"
...@@ -48,17 +48,17 @@ void test() ...@@ -48,17 +48,17 @@ void test()
for (int j=0; j<domainDim+1; j++) for (int j=0; j<domainDim+1; j++)
coefficients[j] = testPoints[index[j]]; coefficients[j] = testPoints[index[j]];
LocalGFETestFunction<domainDim,double,LocalFiniteElement,TargetSpace> testFunctionSet(feCache.get(simplex),coefficients); LocalGfeTestFunctionFiniteElement<LocalFiniteElement,TargetSpace> testFunctionSet(feCache.get(simplex),coefficients);
FieldVector<double,domainDim> stupidTestPoint(0); FieldVector<double,domainDim> stupidTestPoint(0);
// test whether evaluation of the shape functions works // test whether evaluation of the shape functions works
std::vector<array<typename TargetSpace::EmbeddedTangentVector, TargetSpace::TangentVector::dimension> > values; std::vector<array<typename TargetSpace::EmbeddedTangentVector, TargetSpace::TangentVector::dimension> > values;
testFunctionSet.evaluateFunction(stupidTestPoint, values); testFunctionSet.localBasis().evaluateFunction(stupidTestPoint, values);
// test whether evaluation of the shape function derivatives works // test whether evaluation of the shape function derivatives works
std::vector<array<FieldMatrix<double, TargetSpace::EmbeddedTangentVector::dimension, domainDim>, TargetSpace::TangentVector::dimension> > derivatives; std::vector<array<FieldMatrix<double, TargetSpace::EmbeddedTangentVector::dimension, domainDim>, TargetSpace::TangentVector::dimension> > derivatives;
testFunctionSet.evaluateJacobian(stupidTestPoint, derivatives); testFunctionSet.localBasis().evaluateJacobian(stupidTestPoint, derivatives);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment