diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2011-11-09 16:53:20 -0500 |
---|---|---|
committer | Barry Wardell <barry.wardell@gmail.com> | 2011-12-14 19:54:53 +0000 |
commit | 6e464ee12e243b73cfdb1d47e693ce84c8dfd553 (patch) | |
tree | 40e2d37e21729d239e80d0048ec933c022f14175 /Carpet/CarpetReduce/schedule.ccl | |
parent | 137ab5323ed4fdf28ff07dbccd52e9d27372442e (diff) |
CarpetMask: Keep track of the volume that is masked out
Keep track of the volume that is masked out by CarpetMask, and take
this volume into account when checking in CarpetReduce that the
integral over the simulation domain equals the domain volume.
Diffstat (limited to 'Carpet/CarpetReduce/schedule.ccl')
-rw-r--r-- | Carpet/CarpetReduce/schedule.ccl | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Carpet/CarpetReduce/schedule.ccl b/Carpet/CarpetReduce/schedule.ccl index cecc8500a..910f7872d 100644 --- a/Carpet/CarpetReduce/schedule.ccl +++ b/Carpet/CarpetReduce/schedule.ccl @@ -9,6 +9,7 @@ schedule CarpetReduceStartup at STARTUP # Should this move to a new thorn MaskBase? STORAGE: weight +STORAGE: excised_cells @@ -50,7 +51,11 @@ SCHEDULE MaskBase_InitMask IN MaskBase_SetupMaskAll AFTER MaskBase_AllocateMask OPTIONS: global loop-local } "Initialise the weight function" -SCHEDULE GROUP SetupIMask IN MaskBase_SetupMaskAll AFTER MaskBase_InitMask +SCHEDULE GROUP SetupIMaskInternal IN MaskBase_SetupMaskAll AFTER MaskBase_InitMask +{ +} "Set up the integer weight function (schedule other routines in here)" + +SCHEDULE GROUP SetupIMask IN MaskBase_SetupMaskAll AFTER SetupIMaskInternal { } "Set up the integer weight function (schedule other routines in here)" @@ -73,14 +78,14 @@ SCHEDULE MaskBase_TestMask IN MaskBase_SetupMaskAll AFTER SetupMask # Should this move to CoordBase? -SCHEDULE CoordBase_SetupMask IN SetupIMask +SCHEDULE CoordBase_SetupMask IN SetupIMaskInternal { LANG: C OPTIONS: global loop-local } "Set up the outer boundaries of the weight function" # Should this move to CarpetMask? -SCHEDULE CarpetMaskSetup IN SetupIMask +SCHEDULE CarpetMaskSetup IN SetupIMaskInternal { LANG: C OPTIONS: global loop-singlemap |