next up previous
Next: ringParameters Up: User's Guide to Program Previous: Output files


List of Namelist Commands

The namelist commands in the command input file define the whole problem: the ring parameters, the bunch distribution of the beam, the cavity HOM impedances, the optional instructions to setup the calculation, and the calculation itself. Each namelist commands use variables which further specify the command.

The namelist commands are processed by subroutines from object libraries made available publicly by M. Borland.

Below, the namelist commands in clinchor are listed and grouped according to their function:

Basic ring parameter ringParameters
Cavity HOM definitions monopoleHOMs
  dipoleHOMs
Beam definition symmetricBunchPattern
  bunchTrain
  generalBunchPattern
  bunchPatternFromFile
  randomizeBunchCurrent
Option setup commands randomizeHOMFrequencies
  sweepFrequency
Caculation commands doLongitudinalMotion
  doTransverseMotion

The following pages describe all the namelist commands. For each command, one will find:

The command definition listing is of the form

&<command-name>
    <variable-type> <variable-name> = <default-value>
    .
    .
    .
&end
The component <variable-type> can be one of three types: Note that the component <variable-type> appears in these pages only as a guide, and shoulnd't be used literally in an actual input file. The namelist in an input file should look like this:
&<command-name>
    [<variable-name> = <default-value>]
    [<array-name[<index>] = <value>,[,<value> ...],]
&end
The square brackets denotes an optional component. Not all variables need to be defined - the defaults may be sufficient. Those that do need to be defined are noted in the detailed explanations. The only variables that don't have default values in general are string variables.

Array variables take a list of values with the first one assigned to the array element index. If the index value isn't given, then the namelist processor assumes the first array element is number zero. The case of the letters in all namelist and variable names is important.

One will note that quantities which aren't traditionally described in MKS units have their units appearing explicitly in their names. This convention is used to avoid confusion about which non-MKS units to use.

Whenever a namelist is read, it is written back to the standard output file, which is the screen device unless the output is redirected.

In general, the namelist commands can be repeated as many times as one wishes. The reason for repeating may be to change a variable value between calculation commands, to add more HOM definitions, or to construct a more complex bunch pattern.



Subsections
next up previous
Next: ringParameters Up: User's Guide to Program Previous: Output files
Randy Flood 2006-11-06