tfix wall indexation - 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 7ada8e0ef70cb73ae963b190a53ffad6687df1a6
 (DIR) parent 2c23e55b649111fe8c1804d3c8ae90d474bfe16f
 (HTM) Author: Anders Damsgaard Christensen <adc@geo.au.dk>
       Date:   Fri,  9 Sep 2016 10:16:15 -0700
       
       fix wall indexation
       
       Diffstat:
         M python/sphere.py                    |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/python/sphere.py b/python/sphere.py
       t@@ -2986,7 +2986,7 @@ class sim:
                # stress
                #self.w_sigma0 = numpy.zeros(1)
                #self.w_m[0] = numpy.abs(normal_stress*self.L[0]*self.L[1]/self.g[2])
       -        self.w_m[idx] = self.totalMass()
       +        self.w_m[0] = self.totalMass()
        
            def uniaxialStrainRate(self, wvel = -0.001):
                '''