sphere

GPU-based 3D discrete element method algorithm with optional fluid coupling
git clone git://src.adamsgaard.dk/sphere
Log | Files | Refs | LICENSE

commit b5c5a9f67fc7f9d37dbca0ddfdd054259059b774
parent e23a5e8a41484599f1050870022a2218576980ab
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date:   Tue, 24 Feb 2015 13:02:24 +0100

refer to correct object

Diffstat:
Mpython/sphere.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/sphere.py b/python/sphere.py @@ -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!')