aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
blob: 8ffb2c7283674e7e6e14e4fd95b5984d0158c20b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Schedule definitions for thorn NaNChecker
# $Header$

if (*check_vars && check_every > 0)
{
  STORAGE: NaNmask NaNsFound

  schedule NaNChecker_ResetCounter at POSTSTEP before NaNChecker_NaNCheck
  {
    LANG:    C
    OPTIONS: level
  } "Reset the NaNChecker::NaNsFound counter"

  schedule 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
  {
    LANG:    C
    OPTIONS: global loop-level
  } "Output NaNChecker::NaNmask and take action according to NaNChecker::action_if_found"
}