Skip to content

Workaround for multiple transitions #99

@LutherGrusovin

Description

@LutherGrusovin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions