From f42110f85268ebf3efb57174255f8cc4209df61e Mon Sep 17 00:00:00 2001 From: knarf Date: Tue, 10 Aug 2010 14:12:17 +0000 Subject: only whitespace change: replace tabs by spaces for consistent intending git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1551 f88db872-0e4f-0410-b76b-b9085cfa78c5 --- schedule.ccl | 482 +++++++++++++++++++++++++++++------------------------------ 1 file changed, 241 insertions(+), 241 deletions(-) diff --git a/schedule.ccl b/schedule.ccl index 094444f..b22e32f 100644 --- a/schedule.ccl +++ b/schedule.ccl @@ -7,66 +7,66 @@ storage: ahmask[3] # # setup # -schedule AHFinderDirect_setup at CCTK_BASEGRID \ +schedule AHFinderDirect_setup at CCTK_BASEGRID \ after SpatialCoordinates - { - lang: C - options: global - } "setup data structures" + { + lang: C + options: global + } "setup data structures" # # checkpoint/recover support # schedule AHFinderDirect_recover at CCTK_POST_RECOVER_VARIABLES - { - lang: C - options: global - } "import horizon data from Cactus variables" + { + lang: C + options: global + } "import horizon data from Cactus variables" # # find horizons # if (run_at_CCTK_ANALYSIS != 0) - { - schedule AHFinderDirect_find_horizons at CCTK_ANALYSIS - { - lang: C - options: global - } "find apparent horizon(s) after this time step" - } + { + schedule AHFinderDirect_find_horizons at CCTK_ANALYSIS + { + lang: C + options: global + } "find apparent horizon(s) after this time step" + } if (run_at_CCTK_POSTSTEP != 0) - { - schedule AHFinderDirect_find_horizons at CCTK_POSTSTEP - { - lang: C - options: global - } "find apparent horizon(s) after this time step" - } + { + schedule AHFinderDirect_find_horizons at CCTK_POSTSTEP + { + lang: C + options: global + } "find apparent horizon(s) after this time step" + } if (run_at_CCTK_POSTINITIAL != 0) - { - schedule AHFinderDirect_find_horizons at CCTK_POSTINITIAL - { - lang: C - options: global - } "find apparent horizon(s) after this time step" - } + { + schedule AHFinderDirect_find_horizons at CCTK_POSTINITIAL + { + lang: C + options: global + } "find apparent horizon(s) after this time step" + } if (run_at_CCTK_POSTPOSTINITIAL != 0) - { - schedule AHFinderDirect_find_horizons at CCTK_POSTPOSTINITIAL - { - lang: C - options: global - } "find apparent horizon(s) after this time step" - } + { + schedule AHFinderDirect_find_horizons at CCTK_POSTPOSTINITIAL + { + lang: C + options: global + } "find apparent horizon(s) after this time step" + } if (run_at_CCTK_POST_RECOVER_VARIABLES != 0) - { - schedule AHFinderDirect_find_horizons at CCTK_POST_RECOVER_VARIABLES \ + { + schedule AHFinderDirect_find_horizons at CCTK_POST_RECOVER_VARIABLES \ after MoL_PostStep - { - lang: C - options: global - } "find apparent horizon(s) after this time step" - } + { + lang: C + options: global + } "find apparent horizon(s) after this time step" + } # # find horizons, set excision mask, maybe announce centroid to other thorns @@ -75,245 +75,245 @@ if (run_at_CCTK_POST_RECOVER_VARIABLES != 0) # AHFinderDirect_do_masks would be more apt # # We use two Cactus Groups here: -# group_for_mask_stuff -# group_where_mask_is_set -# AHFinderDirect_maybe_do_masks +# group_for_mask_stuff +# group_where_mask_is_set +# AHFinderDirect_maybe_do_masks # this way other thorns can schedule routines which need to run immediately # before/after we set the mask in group_for_mask_stuff before/after # group_where_mask_is_set, without having to know in what higher-level # Cactus schedule bins/groups this thorn runs. # if (run_at_CCTK_ANALYSIS != 0) - { - schedule AHFinderDirect_import_mask at CCTK_ANALYSIS \ - before AHFinderDirect_find_horizons - { - lang: C - options: global loop-local - } "import the excision mask" + { + schedule AHFinderDirect_import_mask at CCTK_ANALYSIS \ + before AHFinderDirect_find_horizons + { + lang: C + options: global loop-local + } "import the excision mask" - schedule AHFinderDirect_store at CCTK_ANALYSIS \ - after AHFinderDirect_find_horizons \ - before SphericalSurface_HasBeenSet - { - lang: C - options: global - } "store apparent horizon(s) into spherical surface(s)" + schedule AHFinderDirect_store at CCTK_ANALYSIS \ + after AHFinderDirect_find_horizons \ + before SphericalSurface_HasBeenSet + { + lang: C + options: global + } "store apparent horizon(s) into spherical surface(s)" - schedule AHFinderDirect_save at CCTK_ANALYSIS \ - after AHFinderDirect_find_horizons \ - { - lang: C - options: global - } "save apparent horizon(s) into Cactus variables" + schedule AHFinderDirect_save at CCTK_ANALYSIS \ + after AHFinderDirect_find_horizons \ + { + lang: C + options: global + } "save apparent horizon(s) into Cactus variables" - if (which_horizon_to_announce_centroid != 0) - { - schedule AHFinderDirect_announce at CCTK_ANALYSIS \ - before DriftCorrect \ - after AHFinderDirect_find_horizons - { - lang: C - options: global - } "announce horizon position(s) to other thorns" - } + if (which_horizon_to_announce_centroid != 0) + { + schedule AHFinderDirect_announce at CCTK_ANALYSIS \ + before DriftCorrect \ + after AHFinderDirect_find_horizons + { + lang: C + options: global + } "announce horizon position(s) to other thorns" + } - schedule AHFinderDirect_maybe_do_masks at CCTK_ANALYSIS \ - after AHFinderDirect_find_horizons - { - lang: C - options: global loop-local - } "set mask(s) based on apparent horizon position(s)" - } + schedule AHFinderDirect_maybe_do_masks at CCTK_ANALYSIS \ + after AHFinderDirect_find_horizons + { + lang: C + options: global loop-local + } "set mask(s) based on apparent horizon position(s)" + } if (run_at_CCTK_POSTSTEP != 0) - { - schedule AHFinderDirect_import_mask at CCTK_POSTSTEP \ - before AHFinderDirect_find_horizons - { - lang: C - options: global loop-local - } "import the excision mask" + { + schedule AHFinderDirect_import_mask at CCTK_POSTSTEP \ + before AHFinderDirect_find_horizons + { + lang: C + options: global loop-local + } "import the excision mask" - schedule AHFinderDirect_store at CCTK_POSTSTEP \ - after AHFinderDirect_find_horizons \ - before SphericalSurface_HasBeenSet - { - lang: C - options: global - } "store apparent horizon(s) into spherical surface(s)" + schedule AHFinderDirect_store at CCTK_POSTSTEP \ + after AHFinderDirect_find_horizons \ + before SphericalSurface_HasBeenSet + { + lang: C + options: global + } "store apparent horizon(s) into spherical surface(s)" - schedule AHFinderDirect_save at CCTK_POSTSTEP \ - after AHFinderDirect_find_horizons \ - { - lang: C - options: global - } "save apparent horizon(s) into Cactus variables" + schedule AHFinderDirect_save at CCTK_POSTSTEP \ + after AHFinderDirect_find_horizons \ + { + lang: C + options: global + } "save apparent horizon(s) into Cactus variables" - if (which_horizon_to_announce_centroid != 0) - { - schedule AHFinderDirect_announce at CCTK_POSTSTEP \ - before DriftCorrect \ - after AHFinderDirect_find_horizons - { - lang: C - options: global - } "announce horizon position(s) to other thorns" - } + if (which_horizon_to_announce_centroid != 0) + { + schedule AHFinderDirect_announce at CCTK_POSTSTEP \ + before DriftCorrect \ + after AHFinderDirect_find_horizons + { + lang: C + options: global + } "announce horizon position(s) to other thorns" + } - schedule AHFinderDirect_maybe_do_masks at CCTK_POSTSTEP \ - after AHFinderDirect_find_horizons - { - lang: C - options: global loop-local - } "set mask(s) based on apparent horizon position(s)" - } + schedule AHFinderDirect_maybe_do_masks at CCTK_POSTSTEP \ + after AHFinderDirect_find_horizons + { + lang: C + options: global loop-local + } "set mask(s) based on apparent horizon position(s)" + } if (run_at_CCTK_POSTINITIAL != 0) - { - schedule AHFinderDirect_import_mask at CCTK_POSTINITIAL \ - before AHFinderDirect_find_horizons - { - lang: C - options: global loop-local - } "import the excision mask" + { + schedule AHFinderDirect_import_mask at CCTK_POSTINITIAL \ + before AHFinderDirect_find_horizons + { + lang: C + options: global loop-local + } "import the excision mask" - schedule AHFinderDirect_store at CCTK_POSTINITIAL \ - after AHFinderDirect_find_horizons \ - before SphericalSurface_HasBeenSet - { - lang: C - options: global - } "store apparent horizon(s) into spherical surface(s)" + schedule AHFinderDirect_store at CCTK_POSTINITIAL \ + after AHFinderDirect_find_horizons \ + before SphericalSurface_HasBeenSet + { + lang: C + options: global + } "store apparent horizon(s) into spherical surface(s)" - schedule AHFinderDirect_save at CCTK_POSTINITIAL \ - after AHFinderDirect_find_horizons \ - { - lang: C - options: global - } "save apparent horizon(s) into Cactus variables" + schedule AHFinderDirect_save at CCTK_POSTINITIAL \ + after AHFinderDirect_find_horizons \ + { + lang: C + options: global + } "save apparent horizon(s) into Cactus variables" - if (which_horizon_to_announce_centroid != 0) - { - schedule AHFinderDirect_announce at CCTK_POSTINITIAL \ - before DriftCorrect \ - after AHFinderDirect_find_horizons - { - lang: C - options: global - } "announce horizon position(s) to other thorns" - } + if (which_horizon_to_announce_centroid != 0) + { + schedule AHFinderDirect_announce at CCTK_POSTINITIAL \ + before DriftCorrect \ + after AHFinderDirect_find_horizons + { + lang: C + options: global + } "announce horizon position(s) to other thorns" + } - schedule AHFinderDirect_maybe_do_masks at CCTK_POSTINITIAL \ - after AHFinderDirect_find_horizons - { - lang: C - options: global loop-local - } "set mask(s) based on apparent horizon position(s)" - } + schedule AHFinderDirect_maybe_do_masks at CCTK_POSTINITIAL \ + after AHFinderDirect_find_horizons + { + lang: C + options: global loop-local + } "set mask(s) based on apparent horizon position(s)" + } if (run_at_CCTK_POSTPOSTINITIAL != 0) - { - schedule AHFinderDirect_import_mask at CCTK_POSTPOSTINITIAL \ - before AHFinderDirect_find_horizons - { - lang: C - options: global loop-local - } "import the excision mask" + { + schedule AHFinderDirect_import_mask at CCTK_POSTPOSTINITIAL \ + before AHFinderDirect_find_horizons + { + lang: C + options: global loop-local + } "import the excision mask" - schedule AHFinderDirect_store at CCTK_POSTPOSTINITIAL \ - after AHFinderDirect_find_horizons \ - before SphericalSurface_HasBeenSet - { - lang: C - options: global - } "store apparent horizon(s) into spherical surface(s)" + schedule AHFinderDirect_store at CCTK_POSTPOSTINITIAL \ + after AHFinderDirect_find_horizons \ + before SphericalSurface_HasBeenSet + { + lang: C + options: global + } "store apparent horizon(s) into spherical surface(s)" - schedule AHFinderDirect_save at CCTK_POSTPOSTINITIAL \ - after AHFinderDirect_find_horizons \ - { - lang: C - options: global - } "save apparent horizon(s) into Cactus variables" + schedule AHFinderDirect_save at CCTK_POSTPOSTINITIAL \ + after AHFinderDirect_find_horizons \ + { + lang: C + options: global + } "save apparent horizon(s) into Cactus variables" - if (which_horizon_to_announce_centroid != 0) - { - schedule AHFinderDirect_announce at CCTK_POSTPOSTINITIAL \ - before DriftCorrect \ - after AHFinderDirect_find_horizons - { - lang: C - options: global - } "announce horizon position(s) to other thorns" - } + if (which_horizon_to_announce_centroid != 0) + { + schedule AHFinderDirect_announce at CCTK_POSTPOSTINITIAL \ + before DriftCorrect \ + after AHFinderDirect_find_horizons + { + lang: C + options: global + } "announce horizon position(s) to other thorns" + } - schedule AHFinderDirect_maybe_do_masks at CCTK_POSTPOSTINITIAL \ - after AHFinderDirect_find_horizons - { - lang: C - options: global loop-local - } "set mask(s) based on apparent horizon position(s)" - } + schedule AHFinderDirect_maybe_do_masks at CCTK_POSTPOSTINITIAL \ + after AHFinderDirect_find_horizons + { + lang: C + options: global loop-local + } "set mask(s) based on apparent horizon position(s)" + } if (run_at_CCTK_POST_RECOVER_VARIABLES != 0) - { - schedule AHFinderDirect_import_mask at CCTK_POST_RECOVER_VARIABLES \ - before AHFinderDirect_find_horizons - { - lang: C - options: global loop-local - } "import the excision mask" + { + schedule AHFinderDirect_import_mask at CCTK_POST_RECOVER_VARIABLES \ + before AHFinderDirect_find_horizons + { + lang: C + options: global loop-local + } "import the excision mask" - schedule AHFinderDirect_store at CCTK_POST_RECOVER_VARIABLES \ - after AHFinderDirect_find_horizons \ - before SphericalSurface_HasBeenSet - { - lang: C - options: global - } "store apparent horizon(s) into spherical surface(s)" + schedule AHFinderDirect_store at CCTK_POST_RECOVER_VARIABLES \ + after AHFinderDirect_find_horizons \ + before SphericalSurface_HasBeenSet + { + lang: C + options: global + } "store apparent horizon(s) into spherical surface(s)" - schedule AHFinderDirect_save at CCTK_POST_RECOVER_VARIABLES \ - after AHFinderDirect_find_horizons \ - { - lang: C - options: global - } "save apparent horizon(s) into Cactus variables" + schedule AHFinderDirect_save at CCTK_POST_RECOVER_VARIABLES \ + after AHFinderDirect_find_horizons \ + { + lang: C + options: global + } "save apparent horizon(s) into Cactus variables" - if (which_horizon_to_announce_centroid != 0) - { - schedule AHFinderDirect_announce at CCTK_POST_RECOVER_VARIABLES \ - before DriftCorrect \ - after AHFinderDirect_find_horizons - { - lang: C - options: global - } "announce horizon position(s) to other thorns" - } + if (which_horizon_to_announce_centroid != 0) + { + schedule AHFinderDirect_announce at CCTK_POST_RECOVER_VARIABLES \ + before DriftCorrect \ + after AHFinderDirect_find_horizons + { + lang: C + options: global + } "announce horizon position(s) to other thorns" + } - schedule AHFinderDirect_maybe_do_masks at CCTK_POST_RECOVER_VARIABLES \ - after AHFinderDirect_find_horizons - { - lang: C - options: global loop-local - } "set mask(s) based on apparent horizon position(s)" - } + schedule AHFinderDirect_maybe_do_masks at CCTK_POST_RECOVER_VARIABLES \ + after AHFinderDirect_find_horizons + { + lang: C + options: global loop-local + } "set mask(s) based on apparent horizon position(s)" + } # TODO: Don't call this, since no horizon has been found yet schedule AHFinderDirect_maybe_do_masks at CCTK_POSTREGRIDINITIAL \ after (MaskOne MaskZero) - { - lang: C - options: global loop-local - } "set mask(s) based on apparent horizon position(s)" + { + lang: C + options: global loop-local + } "set mask(s) based on apparent horizon position(s)" schedule AHFinderDirect_maybe_do_masks at CCTK_POSTREGRID \ after (MaskOne MaskZero) - { - lang: C - options: global loop-local - } "set mask(s) based on apparent horizon position(s)" + { + lang: C + options: global loop-local + } "set mask(s) based on apparent horizon position(s)" ######################################## ## ## uncomment this if you want to use the test driver -## src/util/test_patch_system.cc +## src/util/test_patch_system.cc ## ##schedule test_patch_system at CCTK_POSTINITIAL ##{ -- cgit v1.2.3