tfix self reference - 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 df6ae0a224ab005821c2c6e95a35430975018268
 (DIR) parent fb42b7f7543b15269762f52992d036dd086c4ae4
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       Date:   Mon, 22 Sep 2014 21:26:50 +0200
       
       fix self reference
       
       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@@ -2406,7 +2406,7 @@ class sim:
                # Set top wall to a certain mass corresponding to the selected normal
                # stress
                #self.w_devs = numpy.zeros(1)
       -        self.w_m[0] = numpy.abs(normal_stress*sim.L[0]*sim.L[1]/sim.g[2])
       +        self.w_m[0] = numpy.abs(normal_stress*self.L[0]*self.L[1]/self.g[2])
        
            def uniaxialStrainRate(self, wvel = -0.001):
                '''