tRemoved bug - dev_wforce_pp should always be written - 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 a1d3ceb363363c3c8962d1a0136432b69ba5875a
 (DIR) parent d940d2b8032ce1233de2ce4269c0191a327fecf7
 (HTM) Author: Anders Damsgaard <adc@geo.au.dk>
       Date:   Mon,  3 Dec 2012 16:12:38 +0100
       
       Removed bug - dev_wforce_pp should always be written
       
       Diffstat:
         M src/contactsearch.cuh               |       5 +----
       
       1 file changed, 1 insertion(+), 4 deletions(-)
       ---
 (DIR) diff --git a/src/contactsearch.cuh b/src/contactsearch.cuh
       t@@ -638,10 +638,7 @@ __global__ void interact(unsigned int* dev_gridParticleIndex, // Input: Unsorted
                dev_es[orig_idx]     += es_dot * devC_dt;
                dev_ev[orig_idx]     += ev_dot * devC_dt;
                dev_p[orig_idx]       = p;
       -        if (devC_nw > 0 && w_force != 0.0) {
       -            dev_walls_force_pp[orig_idx] = w_force;
       -            //cuPrintf("wforce written\n");
       -        }
       +        dev_walls_force_pp[orig_idx] = w_force;
            }
        } // End of interact(...)