FREE¶
Summary
Activates free-format input
See also FIXED, GLOBAL
- WHAT(1)
– WHAT(6) and SDUM are not used.
- Default
(option
FREEnot given): input must follow the standard FLUKA format(A8,2X,6E10.0,A8)(see General features of FLUKA input), unless free format has been chosen via aGLOBALcommand
FREEcan be given at any point in input, excluding the geometry. All successive input (excepted the geometry) will be read in free format,VOXELSandLATTICEcards included, until aFIXEDcommand will possibly re-establish fixed-format input.In free-format input, keywords,
WHATs andSDUMs do not need to be aligned in columns but can be written anywhere on the input line, alternating with “separators” in a manner similar to that of list-oriented format in Fortran (but character strings — keywords andSDUMs — must not be put between quotes!). A separator is any one of the following:One of the five characters , (comma), ; (semicolon), % (percent), (backslash), : (colon), preceded or not by one or more blanks, and followed or not by one or more blanks
One or more successive blanks without any non-blank separator
Different separators may be used on the same line.
If a non-blank separator is immediately followed by another one (with or without blanks in between), a value of
0.0is assumed to be given between them.Zero values must be given explicitly or as empty places between two non-blank separators as explained above.
Geometry input (i.e. input between
GEOBEGINandGEOENDcards not included, see Combinatorial Geometry) must still respect the column format described in Combinatorial Geometry, except if free-format geometry input has been requested byGLOBAL.PLOTGEOM input, whether in a separate filePLG.GFXINDAT or directly after aPLOTGEOMcard in standard input, must still be formatted as shown in the description of that option.If
FREEhas been issued, from then on all constants must be written without any blank imbedded (e.g.5.3 E-5is not allowed, but must be written5.3E-5or5.30E-5)- Free format, if requested, applies to option cards of the form
KEYWORD WHAT(1) WHAT(2) ……WHAT(6) SDUMbut not to any data card specific to certain options (for instance the card following
TITLE) Free format can be requested also by option
GLOBAL, but extended to the whole input and not only from the point where the command is issued.GLOBALcan also be used to request free format geometry input.
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+...
BEAM 20. 0.0 -1.0 E-2 -0.02 1.0 PION+
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+...
is equivalent to
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+...
FREE
BEAM 20. 0.0 0.0 -1.0E-2 -0.02 1.0 PION+
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+...
or to
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+...
FREE
BEAM, 20.,0.0 , 0.0, -1.0E-2; -0.02 1.0 %PION+ ! 20 GeV/c momentum?
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+...
etc…Note the possibility to insert comments at the end of the line!
FIXED card re-establishes the fixed-format input mode.*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+...
FREE
BEAM, 20.,0.0 , 0.0, -1.0E-2; -0.02 1.0 %PION+ ! 20 GeV/c momentum?
FIXED
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+...
BEAMPOS 0. 0. 200. -0.012 0.0652336 NEGATIVE
*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+...