stochastic_physics module reference

<undocumented>

More…

Functions/Subroutines

init_stochastic_physics_ocn()

Initializes the stochastic physics perturbations.

run_stochastic_physics_ocn()

Determines the stochastic physics perturbations.

Detailed Description

<undocumented>

Function/Subroutine Documentation

subroutine stochastic_physics/init_stochastic_physics_ocn(delt, geoLonT, geoLatT, nxT, nyT, nz, geoLonB, geoLatB, nxB, nyB, pert_epbl_in, do_sppt_in, do_skeb_in, mpiroot, mpicomm, iret)

Initializes the stochastic physics perturbations.

Parameters:
  • delt :: delt [in] timestep in seconds between calls to run_stochastic_physics_ocn [s]

  • nxt :: [in] number of T gridpoints in the x-direction of the compute grid

  • nyt :: [in] number of T gridpoints in the y-direction of the compute grid

  • nz :: nz [in] number of gridpoints in the z-direction of the compute grid

  • geolont :: [in] Longitude of T points in degrees

  • geolatt :: [in] Latitude of T points in degrees

  • nxb :: [in] number of B gridpoints in the x-direction of the compute grid

  • nyb :: [in] number of B gridpoints in the y-direction of the compute grid

  • geolonb :: [in] Longitude of B points in degrees

  • geolatb :: [in] Latitude of B points in degrees

  • pert_epbl_in :: pert_epbl_in [in] logical flag, if true generate random pattern for ePBL perturbations

  • do_sppt_in :: do_sppt_in [in] logical flag, if true generate random pattern for SPPT perturbations

  • do_skeb_in :: do_skeb_in [in] logical flag, if true generate random pattern for SKEB perturbations

  • mpiroot :: mpiroot [in] root processor

  • mpicomm :: mpicomm [in] mpi communicator

  • iret :: iret [out] return code

Call to:

mom_error_handler::mom_error

Called from:

mom_stochastics::stochastics_init

[source]

subroutine stochastic_physics/run_stochastic_physics_ocn(sppt_wts, skeb_wts, t_rp1, t_rp2)

Determines the stochastic physics perturbations.

Parameters:
  • sppt_wts :: sppt_wts [inout] array containing random weights for SPPT range [0,2]

  • skeb_wts :: skeb_wts [inout] array containing random weights for SKEB

  • t_rp1 :: t_rp1 [inout] array containing random weights for ePBL perturbations (KE generation) range [0,2]

  • t_rp2 :: t_rp2 [inout] array containing random weights for ePBL perturbations (KE dissipation) range [0,2]

Called from:

mom_stochastics::update_stochastics

[source]

[source]