tfix reference to gravity - 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 a13e3e5b810c4acdf9d5941a73e587344fc6a0a0
 (DIR) parent 0aca99cb20d1d509490e3c02a50b71aee6742ddf
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       Date:   Wed, 12 Nov 2014 11:48:50 +0100
       
       fix reference to gravity
       
       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@@ -3173,7 +3173,7 @@ class sim:
                '''
                if self.cfd_solver[0] == 1:
                    self.findPermeabilities()
       -            self.K = self.k*self.rho_f*g/self.mu
       +            self.K = self.k*self.rho_f*numpy.abs(self.g[2])/self.mu
                else:
                    raise Exception('findPermeabilities() only relevant for the '
                            + 'Darcy solver (cfd_solver = 1)')