tfix debug output conditional statement - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
(HTM) git clone git://src.adamsgaard.dk/sphere
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit e2b07236328876b4eb81c92d4e1beb3ed3646206
(DIR) parent cc9ba7079e9c0d8dc97135b0f977c0070e2b89bc
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Tue, 21 Oct 2014 09:26:25 +0200
fix debug output conditional statement
Diffstat:
M src/navierstokes.cuh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/navierstokes.cuh b/src/navierstokes.cuh
t@@ -2996,7 +2996,7 @@ __global__ void updateNSvelocity(
Float3 v = v_p - ndem*devC_dt*c_grad_p/devC_params.rho_f*grad_epsilon;
#endif
-#define REPORT_V_C_COMPONENTS
+#ifdef REPORT_V_C_COMPONENTS
printf("[%d,%d,%d] v_c = %f\t%f\t%f\n",
v.x-v_p.x, v.y-v_p.y, v.z-v_p.z);
#endif