Introduction
Introduction Statistics Contact Development Disclaimer Help
tadd missing pressure read - sphere - GPU-based 3D discrete element method algo…
git clone git://src.adamsgaard.dk/sphere
Log
Files
Refs
LICENSE
---
commit 591daf5e211d81a2c123ebda6c66e4ab90b6a776
parent 694188f73c821ffd3d8d2374f833f864dba3a045
Author: Anders Damsgaard <[email protected]>
Date: Mon, 17 Nov 2014 11:15:16 +0100
add missing pressure 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)];
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.