From cff0d0e428feb8fa8a4ae2faa9c5ce360311755d Mon Sep 17 00:00:00 2001 From: schnetter Date: Mon, 26 Sep 2005 00:44:10 +0000 Subject: Introduce a new schedule group ADMBase_InitialGauge which is run just after ADMBase_InitialData. This makes it possible to set up all ADM data in these two groups, and then e.g. convert to the BSSN variables after these groups still in the bin "initial". Various other thorns, such as dissipation or multipatch, can now apply transformations to the initial data in the bin "postinitial". This simplifies the interaction between various thorns. Change various thorns to use these two groups. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMBase/trunk@32 d576a68a-b34a-40ae-82fc-004fa1a9d16f --- schedule.ccl | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/schedule.ccl b/schedule.ccl index 5026090..97b8ba9 100644 --- a/schedule.ccl +++ b/schedule.ccl @@ -6,6 +6,7 @@ STORAGE: shift_state, metric[1], curv[1], lapse[1] SCHEDULE ADMBase_ParamCheck at CCTK_PARAMCHECK { LANG: C + OPTIONS: global } "Check consistency of parameters" # Schedule group for setting initial data @@ -14,6 +15,14 @@ SCHEDULE group ADMBase_InitialData at CCTK_INITIAL { } "Schedule group for ADM initial data" +SCHEDULE group ADMBase_InitialGauge at CCTK_INITIAL after ADMBase_InitialData +{ +} "Schedule group for ADM initial data" + +SCHEDULE group ADMBase_PostInitial at CCTK_INITIAL after ADMBase_InitialGauge +{ +} "Schedule group for ADM initial data" + # Initial data for the spatial slices if(CCTK_Equals(initial_data, "Cartesian Minkowski")) @@ -28,7 +37,7 @@ if(CCTK_Equals(initial_data, "Cartesian Minkowski")) if(CCTK_Equals(initial_lapse, "one")) { - SCHEDULE ADMBase_LapseOne at CCTK_INITIAL + SCHEDULE ADMBase_LapseOne in ADMBase_InitialGauge { LANG: C } "Set the lapse to 1 at all points" @@ -56,14 +65,15 @@ else if(CCTK_Equals(initial_shift, "zero")) { - SCHEDULE ADMBase_ShiftZero at CCTK_INITIAL + SCHEDULE ADMBase_ShiftZero in ADMBase_InitialGauge { LANG: C } "Set the shift to 0 at all points" } # FIXME: Remove this when symmetries done better -schedule Einstein_InitSymBound at CCTK_BASEGRID +schedule Einstein_InitSymBound at CCTK_WRAGH { LANG: C + OPTIONS: global } "Set up GF symmetries" -- cgit v1.2.3