Difference between revisions of "Keyword:ENDPULSE"

From FISPACT-II Wiki
Jump to: navigation, search
(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...")
 
m (1 revision imported)
 
(No difference)

Latest revision as of 12:41, 8 September 2016

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