tconvergence data as integers - sphere - GPU-based 3D discrete element method a… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 62f218b4c7597dadfe50e064745316355036312a | |
parent de635c6540c846431e3926b35196b4413b7469ac | |
Author: Anders Damsgaard <[email protected]> | |
Date: Wed, 12 Nov 2014 11:31:27 +0100 | |
convergence data as integers | |
Diffstat: | |
M python/sphere.py | 4 +++- | |
1 file changed, 3 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/python/sphere.py b/python/sphere.py | |
t@@ -5084,7 +5084,9 @@ class sim: | |
See also: :func:`plotConvergence()` | |
''' | |
- self.conv = numpy.loadtxt('../output/' + self.sid + '-conv.log') | |
+ self.conv = numpy.array(\ | |
+ numpy.loadtxt('../output/' + self.sid + '-conv.log'), | |
+ dtype=numpy.int32) | |
def plotConvergence(self, graphics_format='png'): | |
''' |