diff options
-rw-r--r-- | param.ccl | 4 | ||||
-rw-r--r-- | schedule.ccl | 11 |
2 files changed, 10 insertions, 5 deletions
@@ -8,7 +8,9 @@ KEYWORD fixed_excision "Excise a fixed region?" "none" :: "No fixed excision" } "none" - +BOOLEAN touch_excision_at_startup "touch the excision mask at startup?" +{ +} "yes" INT num_fixed_regions "Number of fixed excision regions" { diff --git a/schedule.ccl b/schedule.ccl index 5e5b373..5f25b38 100644 --- a/schedule.ccl +++ b/schedule.ccl @@ -1,11 +1,14 @@ # Schedule definitions for thorn LegoExcision # $Header$ -schedule Lego_FixedSphere in CCTK_POSTINITIAL after MaskOne +if (touch_excision_at_startup) { - LANG:Fortran - SYNC:SpaceMask::mask -} "Excise a fixed lego sphere" + schedule Lego_FixedSphere in CCTK_POSTINITIAL after MaskOne + { + LANG:Fortran + SYNC:SpaceMask::mask + } "Excise a fixed lego sphere" +} schedule GROUP ApplyBCs as Lego_ApplyBCs in CCTK_POSTINITIAL after Lego_FixedSphere { |