From 047ea758ee7e31894f3c5d2930c4b6d501b7a32f Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Wed, 26 Oct 2011 09:36:53 +0000 Subject: [PATCH] test permutation invariance only for 2d elements [[Imported from SVN: r8042]] --- test/localgeodesicfefunctiontest.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/localgeodesicfefunctiontest.cc b/test/localgeodesicfefunctiontest.cc index 3162fb1f..1d398eae 100644 --- a/test/localgeodesicfefunctiontest.cc +++ b/test/localgeodesicfefunctiontest.cc @@ -62,12 +62,14 @@ void testDerivativeTangentiality(const RigidBodyMotion<3,double>& x, } /** \brief Test whether interpolation is invariant under permutation of the simplex vertices + * \todo Implement this for all dimensions */ template <int domainDim, class TargetSpace> void testPermutationInvariance(const std::vector<TargetSpace>& corners) { // works only for 2d domains - assert(domainDim==2); + if (domainDim!=2) + return; PQkLocalFiniteElementCache<double,double,domainDim,1> feCache; typedef typename PQkLocalFiniteElementCache<double,double,domainDim,1>::FiniteElementType LocalFiniteElement; -- GitLab