mom_particles_mod module reference

A set of dummy interfaces for compiling the MOM6 drifters code.

More…

Functions/Subroutines

particles_init()

Initializes particles container “parts”.

particles_run()

The main driver the steps updates particles.

particles_save_restart()

Save particle locations (and sometimes other vars) to restart file.

particles_end()

Deallocate all memory and disassociated pointer.

Detailed Description

A set of dummy interfaces for compiling the MOM6 drifters code.

Function/Subroutine Documentation

subroutine mom_particles_mod/particles_init(parts, Grid, Time, dt, u, v)

Initializes particles container “parts”.

Parameters:
  • parts :: [out] Container for all types and memory

  • grid :: [in] Grid type from parent model

  • time :: [in] Time type from parent model

  • dt :: [in] particle timestep [s]

  • u :: [in] Zonal velocity field [m s-1]

  • v :: [in] Meridional velocity field [m s-1]

Called from:

mom::finish_mom_initialization

subroutine mom_particles_mod/particles_run(parts, time, uo, vo, ho, tv, stagger)

The main driver the steps updates particles.

Parameters:
  • parts :: Container for all types and memory

  • time :: [in] Model time

  • uo :: [in] Ocean zonal velocity [m s-1]

  • vo :: [in] Ocean meridional velocity [m s-1]

  • ho :: [in] Ocean layer thickness [H ~> m or kg m-2]

  • tv :: [in] structure containing pointers to available thermodynamic fields

  • stagger :: [in] Flag for whether velocities are staggered

Called from:

mom::step_mom_dynamics

subroutine mom_particles_mod/particles_save_restart(parts, temp, salt)

Save particle locations (and sometimes other vars) to restart file.

Parameters:
  • parts :: Container for all types and memory

  • temp :: [in] Optional container for temperature

  • salt :: [in] Optional container for salinity

Called from:

mom::mom_end

subroutine mom_particles_mod/particles_end(parts, temp, salt)

Deallocate all memory and disassociated pointer.

Parameters:
  • parts :: Container for all types and memory

  • temp :: [in] Optional container for temperature

  • salt :: [in] Optional container for salinity

Called from:

mom::mom_end