tSet `nw` to int during `adjustUpperWall()` - 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 6a26c98ac0803ad905ddd315980198fe20595c8c
 (DIR) parent 703e4399c948ec4e851e17e590d2af2d84419f38
 (HTM) Author: Anders Damsgaard <andersd@riseup.net>
       Date:   Wed, 20 Dec 2017 17:24:52 -0800
       
       Set `nw` to int during `adjustUpperWall()`
       
       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@@ -2956,7 +2956,7 @@ class sim:
                '''
        
                # Initialize upper wall
       -        self.nw = numpy.ones(1)
       +        self.nw = numpy.ones(1, dtype=numpy.int32)
                self.wmode = numpy.zeros(1) # fixed BC
                self.w_n = numpy.zeros(self.nw*self.nd, dtype=numpy.float64).reshape(\
                        self.nw[0],self.nd[0])