Skip to content
Snippets Groups Projects
Commit df6ec10d authored by Sebastian Eibl's avatar Sebastian Eibl
Browse files

extended HCSITS test

parent f493410c
No related merge requests found
...@@ -93,6 +93,10 @@ void normalReactionTest(cr::HCSITS& cr, SphereID sp) ...@@ -93,6 +93,10 @@ void normalReactionTest(cr::HCSITS& cr, SphereID sp)
cr.timestep( real_c( real_t(1.0) ) ); cr.timestep( real_c( real_t(1.0) ) );
WALBERLA_CHECK_FLOAT_EQUAL( sp->getPosition() , Vec3(5,5,real_t(6.1)) ); WALBERLA_CHECK_FLOAT_EQUAL( sp->getPosition() , Vec3(5,5,real_t(6.1)) );
WALBERLA_CHECK_FLOAT_EQUAL( sp->getLinearVel(), Vec3(0,0,real_t(-0.1)) ); WALBERLA_CHECK_FLOAT_EQUAL( sp->getLinearVel(), Vec3(0,0,real_t(-0.1)) );
cr.timestep( real_c( real_t(1.0) ) );
WALBERLA_CHECK_FLOAT_EQUAL( sp->getPosition() , Vec3(5,5,real_t(6.1)) );
WALBERLA_CHECK_FLOAT_EQUAL( sp->getLinearVel(), Vec3(0,0,real_t(0)) );
contactThreshold = Thresholds<real_t>::contactThreshold(); contactThreshold = Thresholds<real_t>::contactThreshold();
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment