diff options
author | eschnett <eschnett@ff385933-4943-42dc-877b-ffc776028de6> | 2011-08-02 23:51:12 +0000 |
---|---|---|
committer | eschnett <eschnett@ff385933-4943-42dc-877b-ffc776028de6> | 2011-08-02 23:51:12 +0000 |
commit | 0a9e8ce2afba60eb0df693aa2cbe35c19d720244 (patch) | |
tree | 18300589690ffa88dd9945037f5caa71af84a233 | |
parent | 398f26b7647bcea67823251348ef78d6379f54c2 (diff) |
Initialise NaN mask after recovering
Initialise NaN mask after recovering. Try to ensure that Nan checking
happens last in a schedule bin.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@97 ff385933-4943-42dc-877b-ffc776028de6
-rw-r--r-- | schedule.ccl | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/schedule.ccl b/schedule.ccl index 89c6cbd..050cb58 100644 --- a/schedule.ccl +++ b/schedule.ccl @@ -5,7 +5,7 @@ if (*check_vars && check_every > 0) { STORAGE: NaNmask NaNsFound - schedule NaNChecker_ResetCounter at INITIAL + schedule NaNChecker_ResetCounter at BASEGRID { LANG: C OPTIONS: global @@ -17,13 +17,25 @@ if (*check_vars && check_every > 0) OPTIONS: global } "Reset the NaNChecker::NaNsFound counter" - schedule NaNChecker_NaNCheck at POSTSTEP + schedule NaNChecker_NaNCheck as zzz_NaNChecker_NaNCheck at POSTSTEP { LANG: C OPTIONS: local } "Check for NaNs and count them in NaNChecker::NaNsFound" - schedule NaNChecker_TakeAction at POSTSTEP after NaNChecker_NaNCheck + schedule NaNChecker_TakeAction at POSTSTEP after zzz_NaNChecker_NaNCheck + { + LANG: C + OPTIONS: global loop-level + } "Output NaNChecker::NaNmask and take action according to NaNChecker::action_if_found" + + schedule NaNChecker_NaNCheck as zzz_NaNChecker_NaNCheck at POST_RECOVER_VARIABLES + { + LANG: C + OPTIONS: local + } "Check for NaNs and count them in NaNChecker::NaNsFound" + + schedule NaNChecker_TakeAction at POST_RECOVER_VARIABLES after zzz_NaNChecker_NaNCheck { LANG: C OPTIONS: global loop-level |