tverified findDistMod changes - 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 e567138fef8fd2ec15afe7a583c3274c757839d0
 (DIR) parent aed17f7c9168b1125b0334b6039383407f843718
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       Date:   Wed, 30 Apr 2014 12:01:32 +0200
       
       verified findDistMod changes
       
       Diffstat:
         M src/contactsearch.cuh               |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/src/contactsearch.cuh b/src/contactsearch.cuh
       t@@ -31,7 +31,7 @@ __device__ int findDistMod(int3* targetCell, Float3* distmod)
                // Periodic y-boundary
                if (targetCell->y < 0) {
                    //targetCell->y = devC_grid.num[1] - 1;
       -            targetCell->y += devC_grid.num[0];
       +            targetCell->y += devC_grid.num[1];
                    *distmod += MAKE_FLOAT3(0.0f, devC_grid.L[1], 0.0f);
                }
                if (targetCell->y >= devC_grid.num[1]) {