next up previous contents
Next: Schedule Blocks Up: schedule.ccl Previous: schedule.ccl   Contents

Assignment Statements

Assignment statements, currently only assign storage.

These lines have the form:

[STORAGE: <group>[timelevels], <group>[timelevels]]

If the thorn is active, storage will be allocated for the given groups for the duration of program execution (unless storage is explicitly switched off by some call to CCTK_DisableGroupStorage within a thorn).

The storage line includes the number of timelevels to activate storage for, this number can be from 1 up to the maximum number or timelevels for the group as specified in the defining interface.ccl file. If the maximum number of timelevels is 1 (the default), this number may be omitted.

The behaviour of an assignment statement is independent of its position in the schedule file (so long as it is outside a schedule block).