From 9456ec88ba462c539d9cbd483d4ac756b9ee5b11 Mon Sep 17 00:00:00 2001 From: Christoph Rettinger <christoph.rettinger@fau.de> Date: Fri, 1 Dec 2017 10:07:08 +0100 Subject: [PATCH] Added assert msg to intersection ratio calculation --- src/lbm/geometry/IntersectionRatio.impl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lbm/geometry/IntersectionRatio.impl.h b/src/lbm/geometry/IntersectionRatio.impl.h index 95d7a8cbe..fd19725e1 100644 --- a/src/lbm/geometry/IntersectionRatio.impl.h +++ b/src/lbm/geometry/IntersectionRatio.impl.h @@ -30,8 +30,8 @@ real_t intersectionRatioBisection( const Body & body, const Vector3<real_t> & direction, const real_t epsilon ) { - WALBERLA_ASSERT( !geometry::contains( body, fluidPoint ) ); - WALBERLA_ASSERT( geometry::contains( body, fluidPoint + direction ) ); + WALBERLA_ASSERT( !geometry::contains( body, fluidPoint ), "fluid point: " << fluidPoint ); + WALBERLA_ASSERT( geometry::contains( body, fluidPoint + direction ), "fluidPoint + direction: " << fluidPoint + direction ); const real_t sqEpsilon = epsilon * epsilon; const real_t sqDirectionLength = direction.sqrLength(); -- GitLab