next up previous
Next: Rmatrix computation Up: Use and description of Previous: Particle distribution analysis

Print selection

This operation allows to determine points or intervals at which results should be printed. Whenever, in some operation,the printing option is set to -2,-1 or 0 it does supercede the print selection of the present operation. If a print selection has been defined, the print option within any subsequent operation should be set positive.

Input format 

PRINt selection
keyword
name(i) as many as needed
99
end,
Parameter definitions

The different keywords are : interval, name, type

Interval $\textstyle \parbox{10cm}{ allows to define up to MXLIST
intervals (default 40...
...rminates the sequence of names. 99 is followed by
another keyword or by end,.}$

name $\textstyle \parbox{10cm}{: followed by names of elements at
which printing is...
...ild character * . AB* means all names starting
with ab will produce printing.}$

type $\textstyle \parbox{10cm}{: the types are : drift, bend,
quadrupole, multipole...
...oid,
monitor, quadsext, matrix, mtwiss, arbitrary. Two
types may be defined.}$



Examples

The example comes from demo12.

* The following is to illustrate the use of the PRINT
* operation
print
interval
m1 m2
99,
name
qf*
99,
type
bend
99,
end
machine : inthis case the print request of -1 supersedes the
* request found in the previous print command (the same would
* be true if if the request were 0 : print everywhere)
1 1.1 0.1 0 0.025 1 1
0 0 0 0
0 0 0 0
-1,
machine: in this case the printing occurs as requested by the
* previous print command
1 1.1 0.1 0 0.025 1 1
0 0 0 0
0 0 0 0
1,



Dobrin Kaltchev 2004-10-20