Difference between revisions of "Keyword:PULSE"

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

Latest revision as of 12:41, 8 September 2016

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