Keyword:ENDPULSE

From FISPACT-II Wiki
Revision as of 12:41, 8 September 2016 by Michael Fleming (Talk | contribs) (1 revision imported)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

ENDPULSE


This keyword terminates a loop construct that was defined and initiated by the PULSE keyword. The actions for all keywords between PULSE and ENDPULSE are repeated npulse times, where npulse is the parameter following the PULSE keyword.

Example usage:

< -- Control phase -- >
...
FISPACT
* Title of the simulation
< -- Initial phase -- > 
...
< -- Inventory phase -- > 
...
PULSE 5
 FLUX 1.0E10
 TIME 1.0 HOURS ATOMS
 FLUX 0.0
 TIME 1.0 HOURS ATOMS
ENDPULSE
...