tdisable unused read - sphere - GPU-based 3D discrete element method algorithm … | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 3fd4cde9f4660ca325558d364706ecbca52f3a4d | |
parent 2fcfb8e66a446d872d8774f9d149a72649ac1e0f | |
Author: Anders Damsgaard <[email protected]> | |
Date: Mon, 17 Nov 2014 10:29:06 +0100 | |
disable unused read | |
Diffstat: | |
M src/darcy.cuh | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/src/darcy.cuh b/src/darcy.cuh | |
t@@ -533,7 +533,7 @@ __global__ void findDarcyPressureForce( | |
__syncthreads(); | |
const Float phi = dev_darcy_phi[cellidx]; | |
const Float p_xn = dev_darcy_p[d_idx(i_x-1,i_y,i_z)]; | |
- const Float p = dev_darcy_p[cellidx]; | |
+ //const Float p = dev_darcy_p[cellidx]; | |
const Float p_xp = dev_darcy_p[d_idx(i_x+1,i_y,i_z)]; | |
const Float p_yn = dev_darcy_p[d_idx(i_x,i_y-1,i_z)]; | |
const Float p_yp = dev_darcy_p[d_idx(i_x,i_y+1,i_z)]; |