trefer to correct object - 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 b5c5a9f67fc7f9d37dbca0ddfdd054259059b774
DIR parent e23a5e8a41484599f1050870022a2218576980ab
HTML Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Tue, 24 Feb 2015 13:02:24 +0100
refer to correct object
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@@ -2321,7 +2321,7 @@ class sim:
:return type: int
'''
if self.nw[0] > 0:
- return int(sim.w_x[0]/(sim.L[2]/sim.num[2]))
+ return int(self.w_x[0]/(self.L[2]/self.num[2]))
else:
raise Exception('No dynamic top wall present!')