From a1be45a016ce8f04cbaa12fb53680b9a125adbd4 Mon Sep 17 00:00:00 2001 From: TravisMitchell Date: Wed, 20 Dec 2023 13:15:22 +1000 Subject: [PATCH] + comment print statements --- models/multiphase/d2q9_pf_velocity/Dynamics.c.Rt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/models/multiphase/d2q9_pf_velocity/Dynamics.c.Rt b/models/multiphase/d2q9_pf_velocity/Dynamics.c.Rt index 3c91b8c54..0b7ab7929 100755 --- a/models/multiphase/d2q9_pf_velocity/Dynamics.c.Rt +++ b/models/multiphase/d2q9_pf_velocity/Dynamics.c.Rt @@ -543,7 +543,7 @@ CudaDeviceFunction void calcWallPhaseIter(){ real_t myA, myPhase; myPhase = PhaseF_dyn(nw_x, nw_y); if (isnan(myPhase)) { - printf("EDGE CASE: Solid normal pointing into solid node at (%.1f %.1f)\n", X, Y); + //printf("EDGE CASE: Solid normal pointing into solid node at (%.1f %.1f)\n", X, Y); PhaseF=0.0; return; } @@ -554,7 +554,6 @@ CudaDeviceFunction void calcWallPhaseIter(){ PhaseF = (myA - sqrt( myA*myA - 4.0 * (myA-1.0)*myPhase))/(myA-1.0) - myPhase; } } - if (isnan(PhaseF)) printf("NaN at (%.1f %.1f)\n", X, Y); } #ifdef OPTIONS_CM