Page 1 of 1

Laser-slicing on successive turns

Posted: 28 Aug 2018, 04:07
by simone.dimitri
Hello,

I am using LSRMDLTR element for simulating laser-slicing in a ring.
I would like to track particles for few turns, but disabling the LSRMDLTR element every N-turns.
Is there any simple way of doing it?

Thank you in advance,
S.

Re: Laser-slicing on successive turns

Posted: 04 Sep 2018, 10:04
by michael_borland
Simone,

Unfortunately, I can't think of an easy way to do this. You could use the SCRIPT element, with a script that puts the beam through LSRMDLTR or not depending on the pass number.

Thanks to your question, I'll add a feature to allow this sort of thing using the BRANCH element. Should appear in the next version.

--Michael