trefer to correct object - sphere - GPU-based 3D discrete element method algori… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit b5c5a9f67fc7f9d37dbca0ddfdd054259059b774 | |
parent e23a5e8a41484599f1050870022a2218576980ab | |
Author: Anders Damsgaard <[email protected]> | |
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(-) | |
--- | |
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!') | |