|Message: Redoing a step?||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
Is there any way to re-do a step? Specifically, in UserSteppingAction() I want to do some computations, and then re-do the step. This may happen multiple times (until it converges).
The problem I'm trying to solve is setting the timing of an RF cavity -- I know the desired phase of the RF at the center of the cavity, and the peak E-field of the cavity, but I need to determine the time offset of its sinewave. I can arrange the geometry so a single step is taken from the upstream edge of the cavity interior to its center; at the end of this step I could re-adjust the time offset and simply keep trying until the phase is correct to within some tolerance. All this is happening for a reference particle; once the cavity timings are determined for it then a new run is started and all beam particles are processed normally with those fixed offsets.
Alternatives involve some approximation, and the approximation used in the Fermilab Beam Tools 1.0 is causing me problems.
Worst case is to remember which cavity we're working on, and just kill the track and start a new one from the beginning. For >300 cavities and probably ~10 tries per cavity this seems excessive (every run needs this tuning, and 3000 tracks is several hours)....
|Inline Depth:||Outline Depth:||Add message:|