tfix debug output conditional statement - sphere - GPU-based 3D discrete elemen… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit e2b07236328876b4eb81c92d4e1beb3ed3646206 | |
parent cc9ba7079e9c0d8dc97135b0f977c0070e2b89bc | |
Author: Anders Damsgaard <[email protected]> | |
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(-) | |
--- | |
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 |