Next: matrix_output
 Up: Namelist Command Dictionary
 Previous: link_elements
- type: setup command.
 
- function: load parameters for elements from an SDDS file.
 
&load_parameters
        STRING filename = NULL;
        long change_defined_values = 0;
        long clear_settings = 0;
        long allow_missing_elements = 0;
        long verbose = 0;
&end
filename -- Name of SDDS file from which to take data.  The file
must contain some of the following columns:
- ElementName -- Required string column.  The name of the element to change.
 
- ElementParameter -- Required string column.  The name of the parameter of the element to change.
 
- ParameterValue -- Optional double column.  If given, gives value of the parameter named
 in ElementParameter for element named in ElementName.
 
- ParameterValueString -- Optional string column.  If ParameterValue is not present, then
this column must be present.  The string data will be scanned, if necessary,
to obtain a value for the parameter.
 
- ParameterMode -- Optional string column.  If given, for each row the value must be
one of ``absolute'', ``differential'', ``ignore'', or ``fractional''.  
 
Unless change_defined_values is set, successive pages of the file are used for
successive steps of the simulation.  Several elegant commands generate output that
may be used (on a subsequent run) with load_parameters; among these are
the tune and chromaticity correction commands and the run_setup command (parameters output).
 
change_defined_values -- Changes the defined values of the parameters.
This means that when the lattice is saved (using save_lattice), the parameters will
have the altered values.  Also, if you want to alter the values for all steps of the
simulation, you must set this flag. 
 
clear_settings -- If set, clear all settings and files being used for loading parameters.
 
allow_missing_elements --  If set, allow elements in the file that are not in
the lattice.  In this case, the nonapplicable data is simply ignored.
 
verbose -- If set, provide informational printouts about changes to parameters.
 
 
 
   
 Next: matrix_output
 Up: Namelist Command Dictionary
 Previous: link_elements
Michael Borland
2001-06-08