aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl19
1 files changed, 12 insertions, 7 deletions
diff --git a/schedule.ccl b/schedule.ccl
index 75e4170..d66d70e 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -3,9 +3,14 @@
STORAGE: metric[1], curv[1], lapse[1]
+SCHEDULE ADMBase_ParamCheck at CCTK_PARAMCHECK
+{
+ LANG: C
+} "Check consistency of parameters"
+
# Schedule group for setting initial data
-schedule group ADMBase_InitialData at CCTK_INITIAL
+SCHEDULE group ADMBase_InitialData at CCTK_INITIAL
{
} "Schedule group for ADM initial data"
@@ -13,8 +18,8 @@ schedule group ADMBase_InitialData at CCTK_INITIAL
if(CCTK_Equals(initial_data, "Cartesian Minkowski"))
{
- SCHEDULE ADMBase_CartesianMinkowski at CCTK_INITIAL
- {
+ SCHEDULE ADMBase_CartesianMinkowski in ADMBase_InitialData
+ {
LANG: C
} "Set the metric and extrinsic curvature to cartesian minkowski values"
}
@@ -24,7 +29,7 @@ if(CCTK_Equals(initial_data, "Cartesian Minkowski"))
if(CCTK_Equals(initial_lapse, "one"))
{
SCHEDULE ADMBase_LapseOne at CCTK_INITIAL
- {
+ {
LANG: C
} "Set the lapse to 1 at all points"
}
@@ -35,14 +40,14 @@ if (!CCTK_Equals(initial_shift,"none"))
STORAGE: shift[1]
SCHEDULE ADMBase_SetShiftStateOn at CCTK_BASEGRID
- {
+ {
LANG: C
} "Set the shift_state variable to 1"
}
else
{
SCHEDULE ADMBase_SetShiftStateOff at CCTK_BASEGRID
- {
+ {
LANG: C
} "Set the shift_state variable to 0"
}
@@ -52,7 +57,7 @@ else
if(CCTK_Equals(initial_shift, "zero"))
{
SCHEDULE ADMBase_ShiftZero at CCTK_INITIAL
- {
+ {
LANG: C
} "Set the shift to 0 at all points"
}