Subject | : Re: SAD Update. V1.0.10.4.16a TrackParticles, WriteBeamLine, PrintBeamLine, etc/ |
Date | : 2011/07/09(Sat) 14:38:42 |
Contributor | : Akio Morita |
> 1. TrackParticles is modified to perform multiple turns of tracking:
>
> TrackParticles[beam, destination-component, nth, nturn]
>
> returns a beam after the tracking at the entrance of the destination-
> component. The destination can be specified by the name of the component
> or by a number obtained by LINE["POSITION", component].
> If destination is omitted, the end of the line is assumed.
>
> The argument nturn is the number of turns to be tracked. The default is 1.
>
> The argument nth is a parameter to be passed to tracking to indicate it is in
> the n-th turn. The number is increased by 1 when it passes the end of beam line.
> If nth is omitted, 1 is assumed.
>
3rd/4th-argumentですが、Range[]やDo[], Table[]構文を考えると
nBegin, nEndの組合せの方がよくありませんか?