** Next:** run_setup
** Up:** Namelist Command Dictionary
** Previous:** rpn_load

##

run_control

- type: setup command.
- function: set up the number of simulation steps and passes.

&run_control
long n_steps = 1;
double bunch_frequency = 0;
long n_indices = 0;
long n_passes = 1;
long reset_rf_for_each_step = 1;
long first_is_fiducial = 0;
long restrict_fiducialization = 0;
&end

`n_steps`

-- The number of separate repetitions of the action implied by the next action command.
If random errors are defined, this is also the number of separate error ensembles.
`bunch_frequency`

-- The frequency to use in calculating the time delay between repetitions.
`n_indices`

-- The number of looping indices for which to expect definitions in subsequent `vary_element`

commands. If nonzero, then `n_steps`

is ignored.
`n_passes`

-- The number of passes to make through the beamline per repetition.
`reset_rf_for_each_step`

-- If nonzero, the rf phases are
established anew for each bunch tracked. Should be zero to simulate
phase and timing jitter.
`first_is_fiducial`

-- If nonzero, the first bunch seen is taken
to establish the reference phases and momentum profile. If zero, each bunch
is treated as a new fiducializing bunch.
`restrict_fiducialization`

-- If nonzero, then momentum profile
fiducialization occurs only after elements that are intended
change the momentum, such as rf cavities. If zero, then each element is
fiducialized to the average momentum of the beam.

** Next:** run_setup
** Up:** Namelist Command Dictionary
** Previous:** rpn_load
Robert Soliday
2014-03-21