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

run more checks

[[Imported from SVN: r8864]]
parent 4c936881
No related branches found
No related tags found
No related merge requests found
...@@ -78,16 +78,15 @@ void testNestedness(const LocalGeodesicFEFunction<domainDim,double,typename PQkL ...@@ -78,16 +78,15 @@ void testNestedness(const LocalGeodesicFEFunction<domainDim,double,typename PQkL
static double maxDiff = 0; static double maxDiff = 0;
maxDiff = std::max(maxDiff, diff.infinity_norm()); maxDiff = std::max(maxDiff, diff.infinity_norm());
std::cout << "maxDiff: " << maxDiff << std::endl;
if (maxDiff > 0.2) if (maxDiff > 0.2)
assert(false); assert(false);
if ( false and diff.infinity_norm() > eps ) { if ( diff.infinity_norm() > eps ) {
std::cout << className<TargetSpace>() << ": Values doe not match." << std::endl; std::cout << className<TargetSpace>() << ": Values doe not match." << std::endl;
std::cout << "Low order : " << loValue << std::endl; std::cout << "Low order : " << loValue << std::endl;
std::cout << "High order: " << hoValue << std::endl; std::cout << "High order: " << hoValue << std::endl;
//assert(false); assert(false);
} }
} }
...@@ -155,7 +154,7 @@ int main() ...@@ -155,7 +154,7 @@ int main()
test<UnitVector<double,3>,1>(element); test<UnitVector<double,3>,1>(element);
test<Rotation<double,3>,1>(element); test<Rotation<double,3>,1>(element);
test<RigidBodyMotion<double,3>,1>(element); test<RigidBodyMotion<double,3>,1>(element);
exit(0);
//////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////
// Test functions on 2d simplex elements // Test functions on 2d simplex elements
//////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment