aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--schedule.ccl29
1 files changed, 23 insertions, 6 deletions
diff --git a/schedule.ccl b/schedule.ccl
index efa44f9..e44674d 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -16,13 +16,30 @@ if (cartoon_active)
LANG: C
} "Check Cartoon2D parameters"
- schedule Cartoon_SetSym_Einstein at CCTK_BASEGRID after SpatialCoordinates
+ # Reset symmetries for relevant grid functions:
+ # (With the new Symmetry thorn this will be handled much better...)
+
+ if (CCTK_IsImplementationActive("ADMBase"))
{
- LANG: C
- } "Reset symmetries for Einstein grid functions"
+ schedule Cartoon_SetSym_Einstein at CCTK_BASEGRID after SpatialCoordinates
+ {
+ LANG: C
+ } "Reset symmetries for Einstein grid functions"
+ }
- schedule Cartoon_SetSym_BSSN at CCTK_BASEGRID after SpatialCoordinates
+ if (CCTK_IsImplementationActive("adm_bssn"))
{
- LANG: C
- } "Reset symmetries for ADM_BSSN grid functions"
+ schedule Cartoon_SetSym_BSSN at CCTK_BASEGRID after SpatialCoordinates
+ {
+ LANG: C
+ } "Reset symmetries for ADM_BSSN grid functions"
+ }
+
+ if (CCTK_IsImplementationActive("WaveToy"))
+ {
+ schedule Cartoon_SetSym_WaveToy at CCTK_BASEGRID after SpatialCoordinates
+ {
+ LANG: C
+ } "Reset symmetries for WaveToy grid function"
+ }
}