Next: , Previous: drift, Up: Physical elements


3.3.5 rbend

rbend defines a rectangular bending magnet. Attributes:

when B is set, this defines a magnet with appropriate field strength and angle is not taken into account. Otherwise, the value of B that corresponds to bending angle angle for a particle in use (defined by the beam command, with appropriate energy and rest mass) is calculated and used in the simulations.

Example :

     
     rb1 : rbend, l=0.5*m, angle = 0.01;