aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
authorpollney <pollney@eec4d7dc-71c2-46d6-addf-10296150bf52>2001-11-05 08:51:58 +0000
committerpollney <pollney@eec4d7dc-71c2-46d6-addf-10296150bf52>2001-11-05 08:51:58 +0000
commit3938143b77634afac657b55f93a07b6f7953f75f (patch)
tree971c2ffaa33dc1e93ffe82ba945863226d23ffa4 /schedule.ccl
parent52f22fb358df42745c184b9826b0b7c4a3623ad7 (diff)
Added a routine to overwrite the symmetry flags on the flat faces of
the cartoon grid. This fixes a problem that was occurring because boundary conditions (eg. radiative) were being applied to these faces, wasting a lot of time. The current fix overwrites the sGHex->GFSym array with a CARTOON_NOSYM flag that won't be recognised by either the cactus symmetry or boundary condition routines, so these won't be applied. *** Note *** I've also added a cartoon_active parameter which must be set in order to turn on cartoon. (This is a second attempt to commit some changes that seem not to have been commited properly last week ...) git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@24 eec4d7dc-71c2-46d6-addf-10296150bf52
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl19
1 files changed, 16 insertions, 3 deletions
diff --git a/schedule.ccl b/schedule.ccl
index 0012a25..7011caa 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -1,7 +1,20 @@
# Schedule definitions for thorn Cartoon2D
# $Header$
-schedule Cartoon2D_CheckParameters at CCTK_PARAMCHECK
+if (cartoon_active)
{
- LANG: C
-} "Check Cartoon2D parameters"
+ schedule Cartoon2D_CheckParameters at CCTK_PARAMCHECK
+ {
+ LANG: C
+ } "Check Cartoon2D parameters"
+
+ 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
+ {
+ LANG: C
+ } "Reset symmetries for ADM_BSSN grid functions"
+}