aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Hoffmann <volker@cheleb.net>2015-08-12 12:21:03 +0200
committerVolker Hoffmann <volker@cheleb.net>2015-08-12 12:21:03 +0200
commit157255a386b2e3f3b11cd2eb56e3a268f0bd7ce0 (patch)
tree6974eacfb20c3f5a1013f05a2aa476c2561efdbc
parentae46e6996fb090905ba7c2e2ff772e0d0fe9b107 (diff)
fix: solar2_hd has more outputs to load than solar2
-rw-r--r--Helpers/impact_helpers.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/Helpers/impact_helpers.py b/Helpers/impact_helpers.py
index cf45820..f1c8260 100644
--- a/Helpers/impact_helpers.py
+++ b/Helpers/impact_helpers.py
@@ -247,8 +247,12 @@ def load(run):
raise Exception("Invalid Run %s" % run)
# Coordinate Output Steps
- if run in [ 'morby', 'morby_hd', 'solar2', 'solar2_hd' ]:
+ if run in [ 'morby', 'morby_hd' ]:
nsteps = np.array([0,1,2,3,4,5], dtype=np.int64) * 1e9
+ elif run in [ 'solar2' ]:
+ nsteps = np.array([0,1,2,3,4,5,6,7], dtype=np.int64) * 1e9
+ elif run in [ 'solar2_hd' ]:
+ nsteps = np.array([0,1,2,3,4,5,6,7,8,9,10], dtype=np.int64) * 1e9
elif run in [ 'blowup', 'blowup2', 'blowup2_hd' ]:
nsteps = np.array([5,6,7,8,9,10], dtype=np.int64) * 1e9
else: