From eaa22df79be60f19a9252e9e944263f1f9ed5cfb Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <matthieu.schaller@durham.ac.uk> Date: Sat, 20 Aug 2016 13:53:17 +0100 Subject: [PATCH] Add dimensionality to Tom's disk-patch ICs --- examples/Disk-Patch/GravityOnly/makeIC.py | 2 +- examples/Disk-Patch/HydroStatic/makeIC.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/Disk-Patch/GravityOnly/makeIC.py b/examples/Disk-Patch/GravityOnly/makeIC.py index 135d1d4e34..702a50ff53 100644 --- a/examples/Disk-Patch/GravityOnly/makeIC.py +++ b/examples/Disk-Patch/GravityOnly/makeIC.py @@ -110,7 +110,7 @@ grp.attrs["Time"] = 0.0 grp.attrs["NumFilesPerSnapshot"] = 1 grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = [0, 0, 0, 0, 0, 0] - +grp.attrs["Dimension"] = 3 #Runtime parameters grp = file.create_group("/RuntimePars") diff --git a/examples/Disk-Patch/HydroStatic/makeIC.py b/examples/Disk-Patch/HydroStatic/makeIC.py index 7404f76aea..40b1d1f1ff 100644 --- a/examples/Disk-Patch/HydroStatic/makeIC.py +++ b/examples/Disk-Patch/HydroStatic/makeIC.py @@ -175,6 +175,7 @@ grp.attrs["Time"] = 0.0 grp.attrs["NumFilesPerSnapshot"] = 1 grp.attrs["MassTable"] = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0] grp.attrs["Flag_Entropy_ICs"] = [entropy_flag] +grp.attrs["Dimension"] = 3 #Runtime parameters grp = file.create_group("/RuntimePars") -- GitLab