tconvergence data as integers - 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 62f218b4c7597dadfe50e064745316355036312a
(DIR) parent de635c6540c846431e3926b35196b4413b7469ac
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
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(-)
---
(DIR) 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'):
'''