Introduction
Introduction Statistics Contact Development Disclaimer Help
tincrease size of arrays - sphere - GPU-based 3D discrete element method algori…
git clone git://src.adamsgaard.dk/sphere
Log
Files
Refs
LICENSE
---
commit 6d83996ddf0afa6017925b739e6c73055223e84c
parent 8fd55186d6605a4a154a54a1f8bf9aae4da40d88
Author: Anders Damsgaard <[email protected]>
Date: Fri, 4 Dec 2015 19:02:50 +0100
increase size of arrays
Diffstat:
M python/sphere.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/python/sphere.py b/python/sphere.py
t@@ -6207,7 +6207,7 @@ class sim:
fig = plt.figure(figsize=(20,8))
# Allocate arrays
- t = numpy.zeros(lastfile-firststep)
+ t = numpy.zeros(lastfile-firststep + 1)
Epot = numpy.zeros_like(t)
Ekin = numpy.zeros_like(t)
Erot = numpy.zeros_like(t)
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.