textend f_p.z=0 one cell downwards - sphere - GPU-based 3D discrete element met… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit f3b00c4f767ff60b4b380d56ee75fbc64b3f17e8 | |
parent 1d927157ef3be46380021661146ac87bc424af79 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Tue, 18 Nov 2014 10:35:44 +0100 | |
extend f_p.z=0 one cell downwards | |
Diffstat: | |
M src/darcy.cuh | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/src/darcy.cuh b/src/darcy.cuh | |
t@@ -564,7 +564,7 @@ __global__ void findDarcyPressureForce( | |
//devC_params.g[2]); | |
// Add Neumann BC at top wall | |
- if (i_z >= wall0_iz) | |
+ if (i_z >= wall0_iz - 1) | |
f_p.z = 0.0; | |
/*printf("%d,%d,%d findPF:\n" |