aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrideout <rideout@eec4d7dc-71c2-46d6-addf-10296150bf52>2002-11-28 12:18:57 +0000
committerrideout <rideout@eec4d7dc-71c2-46d6-addf-10296150bf52>2002-11-28 12:18:57 +0000
commit0cd8263f6a521a503d2aa9e9bd6372129f2e042b (patch)
treecc21efdf68b8a931068fe317d3ce8d32aec81da9
parent650f3127c6c46c8d14e5071a810307a79dce0c6e (diff)
Only reset 'symmetries' for grid functions whose corresponding
implementations are active. Allow for 'symmetry' reset of WaveToy. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@53 eec4d7dc-71c2-46d6-addf-10296150bf52
-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"
+ }
}