Keyword:ENDPULSE

From FISPACT-II Wiki
Revision as of 08:23, 13 July 2016 by Michael Fleming (Talk) (Created page with " {{big|'''ENDPULSE'''}} ---- This keyword terminates a loop construct that was defined and initiated by the '''PULSE''' keyword. The actions for all keyw...")

(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
...