Introduction
Introduction Statistics Contact Development Disclaimer Help
tChanged write format of wmode - sphere - GPU-based 3D discrete element method …
git clone git://src.adamsgaard.dk/sphere
Log
Files
Refs
LICENSE
---
commit 0cc2967dc671b1df21fad06c8d72051b7dbf920a
parent c5711cbfa0d4ccc6b229dfbc50404a22966fe418
Author: Anders Damsgaard <[email protected]>
Date: Tue, 27 Nov 2012 13:46:31 +0100
Changed write format of wmode
Diffstat:
M python/sphere.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/python/sphere.py b/python/sphere.py
t@@ -335,7 +335,8 @@ class Spherebin:
fh.write(self.V_b.astype(numpy.float64))
fh.write(self.nw.astype(numpy.uint32))
- fh.write(self.wmode.astype(numpy.int32))
+ for i in range(self.nw):
+ fh.write(self.wmode[i].astype(numpy.int32))
for i in range(self.nw):
fh.write(self.w_n[i,:].astype(numpy.float64))
fh.write(self.w_x[i].astype(numpy.float64))
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.