diff options
Diffstat (limited to 'schedule.ccl')
-rw-r--r-- | schedule.ccl | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/schedule.ccl b/schedule.ccl index 468d827..b80be63 100644 --- a/schedule.ccl +++ b/schedule.ccl @@ -1,2 +1,46 @@ # Schedule definitions for thorn CoordGauge # $Header$ + +# Old stuff +schedule Einstein_ActivateSlicing at CCTK_BASEGRID +{ + LANG: C +} "Initialize slicing, setup priorities for mixed slicings" + +schedule Einstein_SetNextSlicing at CCTK_PRESTEP +{ + LANG: C +} "Identify the slicing for the next iteration" + +#New stuff + +if(CCTK_Equals(lapse_evolution_method, "coordgauge")|| + CCTK_Equals(shift_evolution_method, "coordgauge")) +{ + SCHEDULE GROUP CoordGauge AT CCTK_PRESTEP + { + } "Coordinate Gauge group" + + + if(CCTK_Equals(lapse_evolution_method, "coordgauge")) + { + SCHEDULE GROUP LapseSelect IN CoordGauge BEFORE PickCoordGauge + { + } "Lapse Selection Group" + + SCHEDULE GROUP LapseApply IN CoordGauge AFTER PickCoordGauge + { + } "Lapse Application Group" + } + + if(CCTK_Equals(shift_evolution_method, "coordgauge")) + { + SCHEDULE GROUP ShiftSelect IN CoordGauge BEFORE PickCoordGauge + { + } "Shift Selection Group" + + SCHEDULE GROUP ShiftApply IN CoordGauge AFTER PickCoordGauge + { + } "Shift Application Group" + } +} |