diff options
author | schnetter <schnetter@d576a68a-b34a-40ae-82fc-004fa1a9d16f> | 2005-09-26 00:44:10 +0000 |
---|---|---|
committer | schnetter <schnetter@d576a68a-b34a-40ae-82fc-004fa1a9d16f> | 2005-09-26 00:44:10 +0000 |
commit | cff0d0e428feb8fa8a4ae2faa9c5ce360311755d (patch) | |
tree | 09113d4d4c72b22ea7c2d9f6a36132811f4c3b24 | |
parent | a320afc53f869a4a228b37c1d1cf69bfac1e1dd9 (diff) |
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
-rw-r--r-- | schedule.ccl | 16 |
1 files 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" |