tMerge pull request #6 from anders-dc/ns-cfd - 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 a256467760695524f2da99584b27f7a22c9adfe2
(DIR) parent da6100d95d6270a3a60d50ec1d37e61299b333a9
(HTM) Author: Anders Damsgaard <anders-dc@users.noreply.github.com>
Date: Tue, 25 Mar 2014 14:35:25 +0100
Merge pull request #6 from anders-dc/ns-cfd
read correct np value
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@@ -1082,7 +1082,7 @@ class sim:
fn = "../output/{0}.output{1:0=5}.bin".format(self.sid, i)
sb.sid = self.sid + ".{:0=5}".format(i)
sb.readbin(fn, verbose = False)
- if (self.np[0] > 0):
+ if (sb.np[0] > 0):
if (i == 0):
sb.writeVTK(verbose=verbose)
elif (i == lastfile):