Next: The Schedule Block
Up: Scheduling
Previous: Groups
Contents
Schedule Options
The options define various characteristics of the schedule item.
- BEFORE or AFTER
- These specify a function or group before or after which this item will
be scheduled.
- WHILE
- This specifies a CCTK_INT grid scalar which is used to control
the execution of this item. If the grid scalar has a nonzero value
the schedule item will be executed, otherwise the item will be
ignored. This allows some dynamic behaviour with scheduling.
- AS
- This assigns a new name to a function for scheduling purposes. This
is used, for instance, to allow a thorn to schedule something before
or after a routine from another implementation; two thorns providing this
implementation can schedule a routine AS the same thing, thus
allowing other thorns to operate independently of which one is active.
|