Keyword:PULSE

From FISPACT-II Wiki
Revision as of 08:25, 13 July 2016 by Michael Fleming (Talk) (Created page with " {{big|'''PULSE''' ''npulse''}} ---- This keyword is used to start the loop construct in the input file. ''npulse'' is the number of times that the keywords between '''PULSE...")

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

PULSE npulse


This keyword is used to start the loop construct in the input file. npulse is the number of times that the keywords between PULSE and ENDPULSE are repeated. Using FISPACT-II it is possible to nest this pair of keywords to an arbitrary depth, and there is now no limit on npulse for any loop. This facility is included so that a series of identical pulses (off time and on time) can be represented easily in the input file.

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