diff options
author | tradke <tradke@ff385933-4943-42dc-877b-ffc776028de6> | 2008-11-24 10:45:49 +0000 |
---|---|---|
committer | tradke <tradke@ff385933-4943-42dc-877b-ffc776028de6> | 2008-11-24 10:45:49 +0000 |
commit | d3f05769b53ce9c95d38097b9535d8a0bdbf3180 (patch) | |
tree | 88156453828730f40cafb223847a23c7a11f11a0 /schedule.ccl | |
parent | 92320c9a718a0a0d170c18884ada0f596bbf6a62 (diff) |
Bugfix: reset NaN counter at INITIAL/PRESTEP in global mode.
Before it was scheduled at POSTSTEP in level mode, and hence called too often
to trigger NaNChecker output when a NaN was found on coarse refinement levels.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@85 ff385933-4943-42dc-877b-ffc776028de6
Diffstat (limited to 'schedule.ccl')
-rw-r--r-- | schedule.ccl | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/schedule.ccl b/schedule.ccl index 8ffb2c7..89c6cbd 100644 --- a/schedule.ccl +++ b/schedule.ccl @@ -5,10 +5,16 @@ if (*check_vars && check_every > 0) { STORAGE: NaNmask NaNsFound - schedule NaNChecker_ResetCounter at POSTSTEP before NaNChecker_NaNCheck + schedule NaNChecker_ResetCounter at INITIAL { LANG: C - OPTIONS: level + OPTIONS: global + } "Reset the NaNChecker::NaNsFound counter" + + schedule NaNChecker_ResetCounter at PRESTEP + { + LANG: C + OPTIONS: global } "Reset the NaNChecker::NaNsFound counter" schedule NaNChecker_NaNCheck at POSTSTEP |