From a1e8abd30a52f2c1a2822d47244907b6957a6828 Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Fri, 14 Oct 2011 10:24:30 +0000 Subject: [PATCH] test shape function evaluation [[Imported from SVN: r7908]] --- test/localgfetestfunctiontest.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/localgfetestfunctiontest.cc b/test/localgfetestfunctiontest.cc index b0bd512b..d9173d32 100644 --- a/test/localgfetestfunctiontest.cc +++ b/test/localgfetestfunctiontest.cc @@ -47,8 +47,11 @@ void test() for (int j=0; j<domainDim+1; j++) coefficients[j] = testPoints[index[j]]; - LocalGFETestFunction<3,double,LocalFiniteElement,TargetSpace>(feCache.get(simplex),coefficients); + LocalGFETestFunction<domainDim,double,LocalFiniteElement,TargetSpace> testFunctionSet(feCache.get(simplex),coefficients); + FieldVector<double,domainDim> stupidTestPoint(0); + std::vector<typename TargetSpace::EmbeddedTangentVector> values; + testFunctionSet.evaluateFunction(stupidTestPoint, values); } } -- GitLab