mom_particles_mod module reference
A set of dummy interfaces for compiling the MOM6 drifters code.
Functions/Subroutines
Initializes particles container "parts". |
|
The main driver the steps updates particles. |
|
Save particle locations (and sometimes other vars) to restart file. |
|
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, h)
Initializes particles container “parts”.
- Parameters:
parts ::
parts[out] Container for all types and memorygrid :: [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]
- 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 ::
partsContainer for all types and memorytime ::
time[in] Model timeuo ::
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 fieldsdt_adv ::
dt_adv[in] timestep for advecting particles [s]use_uh ::
use_uhFlag for whether u and v are weighted by thickness
- 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 ::
partsContainer for all types and memoryh ::
h[in] Thickness of each layer [H ~> m or kg m-2]directory ::
directory[in] The directory where the restart files are to be writtentime ::
time[in] The current model timetime_stamped ::
time_stamped[in] If present and true, add time-stamp to the restart file names
- subroutine mom_particles_mod/particles_end(parts, h, temp, salt)
Deallocate all memory and disassociated pointer.
- Parameters:
parts ::
partsContainer for all types and memoryh ::
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]
- subroutine mom_particles_mod/particles_to_k_space(parts, h)
- Parameters:
parts ::
partsContainer for all types and memoryh ::
h[in] Thickness of layers [H ~> m or kg m-2]
- Called from:
- subroutine mom_particles_mod/particles_to_z_space(parts, h)
- Parameters:
parts ::
partsContainer for all types and memoryh ::
h[in] Thickness of layers [H ~> m or kg m-2]
- Called from: