tfix object name - 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 c8dc961f462de20dd337b2aa60244bf504b5bd7b
 (DIR) parent 49fff9de10707f0592afc22fd615963fe1a6e478
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       Date:   Sat, 21 Jun 2014 21:13:18 +0200
       
       fix object name
       
       Diffstat:
         M python/shortening.py                |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/python/shortening.py b/python/shortening.py
       t@@ -129,8 +129,8 @@ color_z = numpy.arange(0.0, z_max, nz)
        
        # 1 or 3 in checkerboard
        for i in range(sim.np):
       -    iy = numpy.floor((self.x[i,1] - y_min)/(y_max/color_ny))
       -    iz = numpy.floor((self.x[i,2] - z_min)/(z_max/color_nz))
       +    iy = numpy.floor((sim.x[i,1] - y_min)/(y_max/color_ny))
       +    iz = numpy.floor((sim.x[i,2] - z_min)/(z_max/color_nz))
            sim.color[i] = (-1)**iy + (-1)**iz + 1
        
        sim.normalBoundariesXY()