aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
blob: 89c6cbd933450ad7251086aa746908bdbedbafaa (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
26
27
28
29
30
31
# Schedule definitions for thorn NaNChecker
# $Header$

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

  schedule NaNChecker_ResetCounter at INITIAL
  {
    LANG:    C
    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
  {
    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"
}