I've seen your reply from 2021 on a workaround for implementing multiple transitions, by spatially swapping the AtomicTransition component. Could you give me an idea on how I would write code to do this? I'm in my final semester of my undergrad, working on simulating laser cooling of a Dysprosium gas. The atoms will move from a 2D MOT with a 421nm transition into a 3D MOT with a 626nm transition, so I would like to change the transition component once it enters a specific spatial region.
This is indeed a limitation of the current code, that we can only have one transition per atom!
Short term workaround
For now we are modelling setups with blue/red by basically swapping the AtomicTransition either spatially, eg on entities that go into the red region, or in time, eg doing it at a certain point in time. That is a workaround at best.
Longer term feature implementation
Currently the rate equation implementation assumes a two-level system. For various components used in the rate force calcs, eg TotalScatteredPhotons, these enforce being a single transition (really this is the total scattered photons on a particular atomic transition).
One easy implementation could be to introduce generic components for the transitions, for example TotalScatteredPhotons<Sr461>. Variants of the systems could be readily introduced for each transition, so that all the transitions occur in parallel for each allowed transition, eg CalculateTotalScatteredPhotons<Sr461>.
Originally posted by @ElliotB256 in #46
I've seen your reply from 2021 on a workaround for implementing multiple transitions, by spatially swapping the AtomicTransition component. Could you give me an idea on how I would write code to do this? I'm in my final semester of my undergrad, working on simulating laser cooling of a Dysprosium gas. The atoms will move from a 2D MOT with a 421nm transition into a 3D MOT with a 626nm transition, so I would like to change the transition component once it enters a specific spatial region.
Originally posted by @ElliotB256 in #46