INFN homepage
FLUKA: 8.2.3.2} Free format body input Previous Index Next

8.2.3.2} Free format body input

          ----------------------
 Free format is used for both body and region input only if requested by a GLOBAL
 command at the beginning of the input file  or by the string COMBNAME in the
 
SDUM
field of the GEOBEGIN command. In free format, each body is defined by: its code, its identifier (an alphanumeric string of up to 8 characters, with the first character alphabetical) and a set of numerical parameters defining its size, position and orientation in space (all in cm). Free format has been introduced only recently and is expected to supersede soon the other formats, which will be kept however for reasons of back compatibility. Its main advantages, in addition to the freedom from strict alignment rules, are the possibility to modify the input sequence without affecting the region description (for instance, by inserting a new body) and the availability of parentheses to perform complex boolean operations in the description of regions. The input for each body consists of a 3-letter code indicating the body type: ARB BOX ELL PLA QUA RAW RCC REC RPP SPH TRC WED XCC XEC XYP XZP YCC YEC YZP ZCC ZEC followed by a unique "body name" (alphanumeric identifier) and a set of geometrical quantities defining the body (their number depends on the body type as explained below). The different items, separated by one or more blanks, or by one of the separators "," "%" ";" "\" ":" can extend over as many lines as needed, each line having a maximum length of 132 characters. See option FREE for more detailed instructions on the use of separators. After the last body description, end with a line having the code END With all input formats, a line having an asterisk (*) in column 1 is treated as a comment line. Such comment lines can be inserted freely at any point of Body and Region input, allowing easier identification.

Previous Index Next