diff options
Diffstat (limited to 'schedule.ccl')
-rw-r--r-- | schedule.ccl | 40 |
1 files changed, 37 insertions, 3 deletions
diff --git a/schedule.ccl b/schedule.ccl index 3570aff..ae1c1b8 100644 --- a/schedule.ccl +++ b/schedule.ccl @@ -196,7 +196,8 @@ if (CCTK_Equals(initial_dtshift, "zero")) -if (CCTK_Equals(lapse_evolution_method, "static")) +if (CCTK_Equals(lapse_evolution_method, "static") || + CCTK_Equals(lapse_evolution_method, "ID-apply-always")) { SCHEDULE ADMBase_LapseStatic in CCTK_PRESTEP { @@ -204,7 +205,8 @@ if (CCTK_Equals(lapse_evolution_method, "static")) } "Copy the lapse to the current time level" } -if (CCTK_Equals(shift_evolution_method, "static")) +if (CCTK_Equals(shift_evolution_method, "static") || + CCTK_Equals(shift_evolution_method, "ID-apply-always")) { SCHEDULE ADMBase_ShiftStatic in CCTK_PRESTEP { @@ -212,7 +214,9 @@ if (CCTK_Equals(shift_evolution_method, "static")) } "Copy the shift to the current time level" } -if (CCTK_Equals(evolution_method, "static") || CCTK_Equals(evolution_method, "none")) +if (CCTK_Equals(evolution_method, "static") || + CCTK_Equals(evolution_method, "none") || + CCTK_Equals(evolution_method, "ID-apply-always")) { SCHEDULE ADMBase_Static in CCTK_PRESTEP { @@ -248,6 +252,36 @@ if (CCTK_Equals(evolution_method, "static") || CCTK_Equals(evolution_method, "no } +if (CCTK_Equals(evolution_method, "ID-apply-regrid") || + CCTK_Equals(evolution_method, "ID-apply-always")) +{ + SCHEDULE group ADMBase_InitialData at CCTK_POSTREGRID + { + } "Schedule group for calculating ADM initial data" + + SCHEDULE group ADMBase_InitialData at CCTK_POSTREGRIDINITIAL + { + } "Schedule group for calculating ADM initial data" +} + +if (CCTK_Equals(lapse_evolution_method, "ID-apply-regrid") || + CCTK_Equals(shift_evolution_method, "ID-apply-regrid") || + CCTK_Equals(dtlapse_evolution_method, "ID-apply-regrid") || + CCTK_Equals(dtshift_evolution_method, "ID-apply-regrid") || + CCTK_Equals(lapse_evolution_method, "ID-apply-always") || + CCTK_Equals(shift_evolution_method, "ID-apply-always") || + CCTK_Equals(dtlapse_evolution_method, "ID-apply-always") || + CCTK_Equals(dtshift_evolution_method, "ID-apply-always")) +{ + SCHEDULE group ADMBase_InitialGauge at CCTK_POSTREGRID after ADMBase_InitialData BEFORE MoL_PostStep + { + } "Schedule group for the ADM initial gauge condition" + + SCHEDULE group ADMBase_InitialGauge at CCTK_POSTREGRIDINITIAL after ADMBase_InitialData BEFORE MoL_PostStep + { + } "Schedule group for the ADM initial gauge condition" +} + # TODO: Rename this group to "ADMBase_HaveBeenSet"? SCHEDULE GROUP ADMBase_SetADMVars IN MoL_PostStep { |