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.

particles_to_k_space()

particles_to_z_space()

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, h)

Initializes particles container “parts”.

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

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

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

  • dt :: dt [in] particle timestep in seconds [T ~> s]

  • u :: u [in] Zonal velocity field [L T-1 ~> m s-1]

  • v :: v [in] Meridional velocity field [L T-1 ~> m s-1]

  • h :: h [in] Thickness of each layer [H ~> m or kg m-2]

[source]

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

The main driver the steps updates particles.

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

  • time :: time [in] Model time

  • uo :: uo [in] If use_uh is false, ocean zonal velocity [L T-1 ~>m s-1]. If use_uh is true, accumulated zonal thickness fluxes that are used to advect tracers [H L2 ~> m3 or kg]

  • vo :: vo [in] If use_uh is false, ocean meridional velocity [L T-1 ~>m s-1]. If use_uh is true, accumulated meridional thickness fluxes that are used to advect tracers [H L2 ~> m3 or kg]

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

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

  • dt_adv :: dt_adv [in] timestep for advecting particles [s]

  • use_uh :: use_uh Flag for whether u and v are weighted by thickness

[source]

subroutine mom_particles_mod/particles_save_restart(parts, h, directory, time, time_stamped)

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

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

  • h :: h [in] Thickness of each layer [H ~> m or kg m-2]

  • directory :: directory [in] The directory where the restart files are to be written

  • time :: time [in] The current model time

  • time_stamped :: time_stamped [in] If present and true, add time-stamp to the restart file names

[source]

subroutine mom_particles_mod/particles_end(parts, h, temp, salt)

Deallocate all memory and disassociated pointer.

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

  • h :: h [in] Thickness of each layer [H ~> m or kg m-2]

  • temp :: temp [in] Optional container for temperature [C ~> degC]

  • salt :: salt [in] Optional container for salinity [S ~> ppt]

[source]

subroutine mom_particles_mod/particles_to_k_space(parts, h)
Parameters:
  • parts :: parts Container for all types and memory

  • h :: h [in] Thickness of layers [H ~> m or kg m-2]

Called from:

mom::post_diabatic_halo_updates mom::step_mom_dynamics

[source]

subroutine mom_particles_mod/particles_to_z_space(parts, h)
Parameters:
  • parts :: parts Container for all types and memory

  • h :: h [in] Thickness of layers [H ~> m or kg m-2]

Called from:

mom::ale_regridding_and_remapping mom::step_mom_dynamics

[source]

[source]