tdisable diagnostic output - 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 7c249194410ea889121a5e9f156bd9c24b1859ee
(DIR) parent 15150f04f7d63a696e6c73e8be6a31912f93baf6
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Fri, 20 Mar 2015 14:10:52 +0100
disable diagnostic output
Diffstat:
M src/darcy.cuh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/src/darcy.cuh b/src/darcy.cuh
t@@ -975,6 +975,7 @@ __global__ void findDarcyPressureForceLinear(
grad_p += weight(x3, X + n, dx, dy, dz)*grad_p_iter;
+ /*
Float s = weight(x3, X + n, dx, dy, dz);
printf("[%d+%d, %d+%d, %d+%d]\n"
"\tn = %f, %f, %f\n"
t@@ -1011,7 +1012,7 @@ __global__ void findDarcyPressureForceLinear(
if (i_z >= wall0_iz)
f_p.z = 0.0;
- if (length(f_p) > 1.0e-12)
+ /*if (length(f_p) > 1.0e-12)
printf("%d,%d,%d findPF:\n"
//"\tphi = %f\n"
"\tx = %f, %f, %f\n"