Skip to content

particle drift_state

Ludovic Lepers edited this page Jan 16, 2025 · 1 revision

Particle drift_state

Every particle has a drift_state.It is defined in the type PartMain as an integer. It can take several value:

  1. Stopped, the particle will not move anymore and should not be impacted by the physical processes
  2. unreleased yet, the particle will be released when its CStartDateTime will be reached by the simulation, in the new_release (Oserit_Utils.f90) subroutine called directly in Oserit_model.f90.
  3. Drifting

This is used to now if a particle should be impacted by the physical processes or not. For the more precise state of the particle, see state

Diagram of the drift_state change

stateDiagram-v2
    not_released --> drift : new release
    drift --> stop : reach seabed
    drift --> stop : out_of_domain
    stop --> drift: redistribute dissolved seabed
Loading
Clone this wiki locally