textend f_p.z=0 one cell downwards - 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 f3b00c4f767ff60b4b380d56ee75fbc64b3f17e8
 (DIR) parent 1d927157ef3be46380021661146ac87bc424af79
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       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(-)
       ---
 (DIR) 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"