tonly use x-axis force component - 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 e23a5e8a41484599f1050870022a2218576980ab
 (DIR) parent 1ee72ff898cf77c89c58ee5c3805f01247d73cf4
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       Date:   Tue, 24 Feb 2015 13:01:08 +0100
       
       only use x-axis force component
       
       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@@ -5841,7 +5841,7 @@ class sim:
                        if self.vel[i,0] > 0.0:
                            force += -self.force[i,:]
        
       -            return force/(self.L[0]*self.L[1])
       +            return force[0]/(self.L[0]*self.L[1])
        
                else:
                    raise Exception('Shear stress type ' + type + ' not understood')