aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'schedule.ccl')
-rwxr-xr-xschedule.ccl22
1 files changed, 21 insertions, 1 deletions
diff --git a/schedule.ccl b/schedule.ccl
index 57de555..9d9a956 100755
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -10,6 +10,10 @@ if (timelevels == 1)
{
STORAGE: Y_e[1]
}
+ if (!CCTK_EQUALS(initial_Bvec, "none"))
+ {
+ STORAGE: Bvec[1]
+ }
}
else if (timelevels == 2)
{
@@ -21,6 +25,10 @@ else if (timelevels == 2)
{
STORAGE: Y_e[2]
}
+ if (!CCTK_EQUALS(initial_Bvec, "none"))
+ {
+ STORAGE: Bvec[2]
+ }
}
else if (timelevels == 3)
{
@@ -32,6 +40,10 @@ else if (timelevels == 3)
{
STORAGE: Y_e[3]
}
+ if (!CCTK_EQUALS(initial_Bvec, "none"))
+ {
+ STORAGE: Bvec[3]
+ }
}
schedule group HydroBase_Initial at CCTK_INITIAL \
@@ -107,7 +119,7 @@ if (CCTK_EQUALS(initial_hydro, "zero"))
schedule HydroBase_Zero in HydroBase_Initial
{
LANG: C
- } "Set up zero (vacuum without atmosphere) hydro initial data"
+ } "Set up vacuum hydro initial data"
}
if (CCTK_Equals(initial_Y_e, "one"))
@@ -117,3 +129,11 @@ if (CCTK_Equals(initial_Y_e, "one"))
LANG: C
} "Set electron fraction to 1"
}
+
+if (CCTK_Equals(initial_Bvec, "zero"))
+{
+ SCHEDULE HydroBase_Bvec_zero in HydroBase_Initial
+ {
+ LANG: C
+ } "Set magnetic field to 0"
+}