aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
blob: 050cb581a9c38494ebf1ffbb8f8fac528b4a0b29 (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
32
33
34
35
36
37
38
39
40
41
42
43
# Schedule definitions for thorn NaNChecker
# $Header$

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

  schedule NaNChecker_ResetCounter at BASEGRID
  {
    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 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 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
  } "Output NaNChecker::NaNmask and take action according to NaNChecker::action_if_found"
}