! new RF gun, first cell &po x=0.000, y=0.000 &end &po x=0.000, y=0.006 &end &po x=0.0016, y=0.0135 &end &po x=0.0016, y=0.0427755 &end &po x=0.0060, y=0.0427755 &end &po nt=2, x0=0.006, y0=0.0181355, r=0.02464, theta=0.0 &end &po x=0.03064 , y=0.014818 &end &po nt=2, x0=0.02861, y0=0.014818, r=0.00203, theta=-90.0 &end &po x=0.02836, y=0.012788 &end &po nt=2, x0=0.02836, y0=0.010588, r=0.0022, theta=180.0 &end &po x=0.02616, y=0.01008 &end &po nt=2, x0=0.03116, y0=0.01008, r=0.005, theta=270.0 &end &po x=0.0348, y=0.00508 &end &po x=0.0348, y=0.00 &end &po x=0.000000, y=0.00 &end
&point int nt = 1; double x = 0; double y = 0; double x0 = 0; double y0 = 0; double r = 0; double a = 0; double b = 0; double aovrb = 0; double theta = 0; int change_direction = 0; double potential = 0; int ramp_potential = 0; &end
x0
, y0
).
For nt=3, the first point on the new shape. For nt=4,
the coordinates of the in-vacuum point.
a
or b
is zero, then the value is determined using the ratio aovrb
(a over b).
nt=2
when theta
is not given but x
and y
are,
spiffe
may have trouble determining the direction of the arc. This flag can be used to change the
direction.