timprove formatting - 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 15150f04f7d63a696e6c73e8be6a31912f93baf6
 (DIR) parent ce4cc3c55e6f421b258d803a47b479a6624a264e
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       Date:   Fri, 20 Mar 2015 14:10:32 +0100
       
       improve formatting
       
       Diffstat:
         M src/darcy.cuh                       |       5 +----
       
       1 file changed, 1 insertion(+), 4 deletions(-)
       ---
 (DIR) diff --git a/src/darcy.cuh b/src/darcy.cuh
       t@@ -971,10 +971,7 @@ __global__ void findDarcyPressureForceLinear(
                            if (i_z + d_iz >= wall0_iz - 1)
                                grad_p_iter.z = 0.0;
        
       -                    n = MAKE_FLOAT3(
       -                            dx*(double)d_ix,
       -                            dy*(double)d_iy,
       -                            dz*(double)d_iz);
       +                    n = MAKE_FLOAT3(dx*d_ix, dy*d_iy, dz*d_iz);
        
                            grad_p += weight(x3, X + n, dx, dy, dz)*grad_p_iter;