tPreallocation of Es and Es_dot in energy visualization - sphere - GPU-based 3D… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 6b011403d94adccbf4b495321927dbd46ef64b01 | |
parent c96448cc01d728f0d903554cd1a2666a9847901b | |
Author: Anders Damsgaard <[email protected]> | |
Date: Wed, 10 Oct 2012 09:35:32 +0200 | |
Preallocation of Es and Es_dot in energy visualization | |
Diffstat: | |
M python/sphere.py | 2 ++ | |
1 file changed, 2 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/python/sphere.py b/python/sphere.py | |
t@@ -918,7 +918,9 @@ def visualize(project, method = 'energy', savefig = False,… | |
Ekin = numpy.zeros(lastfile+1) | |
Erot = numpy.zeros(lastfile+1) | |
Es = numpy.zeros(lastfile+1) | |
+ Ev = numpy.zeros(lastfile+1) | |
Es_dot = numpy.zeros(lastfile+1) | |
+ Ev_dot = numpy.zeros(lastfile+1) | |
Esum = numpy.zeros(lastfile+1) | |
# Read energy values from project binaries |