aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--param.ccl4
-rw-r--r--schedule.ccl11
2 files changed, 10 insertions, 5 deletions
diff --git a/param.ccl b/param.ccl
index 10f914c..0972297 100644
--- a/param.ccl
+++ b/param.ccl
@@ -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
{