From 3938143b77634afac657b55f93a07b6f7953f75f Mon Sep 17 00:00:00 2001 From: pollney Date: Mon, 5 Nov 2001 08:51:58 +0000 Subject: 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 --- schedule.ccl | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'schedule.ccl') 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" +} -- cgit v1.2.3