diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-08-21 19:07:00 +0000 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-08-21 19:07:00 +0000 |
commit | 1a1c651b747283af712df205ef31ac1314667774 (patch) | |
tree | 4616ec63d345795339844d4d799a592814536751 /Carpet | |
parent | 61c79c61a52d6dacab51ff5fc9b4e69d8ac90219 (diff) |
CarpetMask: Schedule more efficiently
Schedule mask calculation routine in poststep only if CarpetMask is
active. This makes things more efficient if CarpetMask is not active.
darcs-hash:20070821190721-dae7b-726fea9c11a64a8b81cb7178b60bb93dd40e5e06.gz
Diffstat (limited to 'Carpet')
-rw-r--r-- | Carpet/CarpetMask/schedule.ccl | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/Carpet/CarpetMask/schedule.ccl b/Carpet/CarpetMask/schedule.ccl index 5e468b098..a7b972557 100644 --- a/Carpet/CarpetMask/schedule.ccl +++ b/Carpet/CarpetMask/schedule.ccl @@ -1,7 +1,31 @@ # Schedule definitions for thorn CarpetMask +# TODO: Schedule this only if there is an excluded centre which is active +SCHEDULE GROUP MaskBase_SetupMask AT poststep AFTER SphericalSurface_HasBeenSet +{ +} "Set up the weight function" + SCHEDULE CarpetExcludedSetup IN SetupMask { LANG: C OPTIONS: global loop-local -} "Set up the weight function for the restriction regions" +} "Set up the weight function for the excluded regions" + +SCHEDULE CarpetSurfaceSetup IN SetupMask +{ + LANG: C + OPTIONS: global loop-local +} "Set up the weight function for the excluded spherical surfaces" + + + + +#SCHEDULE CarpetExcludedSetup IN SetupMask_LevelMode +#{ +# LANG: C +#} "Set up the weight function for the excluded regions" +# +#SCHEDULE CarpetSurfaceSetup IN SetupMask_LevelMode +#{ +# LANG: C +#} "Set up the weight function for the excluded spherical surfaces" |