trefer to self - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
HTML git clone git://src.adamsgaard.dk/sphere
DIR Log
DIR Files
DIR Refs
DIR LICENSE
---
DIR commit f8229089d0385e01a20cca9f20fdd4fc4afaef88
DIR parent 81a5aa3dc0539a08375686fcda103645280d4136
HTML Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Tue, 17 Feb 2015 12:33:32 +0100
refer to self
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@@ -5469,7 +5469,7 @@ class sim:
if (self.vel[i,0] > 0.0):
force += -self.force[i,:]
- return force/(sim.L[0]*sim.L[1])
+ return force/(self.L[0]*self.L[1])
def visualize(self, method = 'energy', savefig = True, outformat = 'png',