stochastic_physics module reference

Functions/Subroutines

init_stochastic_physics_ocn

Initializes the stochastic physics perturbations.

run_stochastic_physics_ocn

Determines the stochastic physics perturbations.

Functions/Subroutine Documentation

subroutine 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 [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 [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 [in]

    logical flag, if true generate random pattern for ePBL perturbations

  • do_sppt_in [in]

    logical flag, if true generate random pattern for SPPT perturbations

  • do_skeb_in [in]

    logical flag, if true generate random pattern for SKEB perturbations

  • mpiroot [in]

    root processor

  • mpicomm [in]

    mpi communicator

  • iret [out]

    return code

Callees call graph
Callees of stochastic_physics::init_stochastic_physics_ocn calls cluster_mom_error_handler MOM_error_handler cluster_stochastic_physics stochastic_physics mom_error_handler::mom_error MOM_error stochastic_physics::init_stochastic_physics_ocn init_stochastic_physics_ocn stochastic_physics::init_stochastic_physics_ocn->mom_error_handler::mom_error
Text view
Callers call graph
Callers of stochastic_physics::init_stochastic_physics_ocn calls cluster_mom_stochastics MOM_stochastics cluster_stochastic_physics stochastic_physics mom_stochastics::stochastics_init stochastics_init stochastic_physics::init_stochastic_physics_ocn init_stochastic_physics_ocn mom_stochastics::stochastics_init->stochastic_physics::init_stochastic_physics_ocn
Text view
subroutine run_stochastic_physics_ocn(sppt_wts, skeb_wts, t_rp1, t_rp2)

Determines the stochastic physics perturbations.

Parameters
  • sppt_wts [inout]

    array containing random weights for SPPT range [0,2]

  • skeb_wts [inout]

    array containing random weights for SKEB with units of a length [m]

  • t_rp1 [inout]

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

  • t_rp2 [inout]

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

Callers call graph
Callers of stochastic_physics::run_stochastic_physics_ocn calls cluster_mom_stochastics MOM_stochastics cluster_stochastic_physics stochastic_physics mom_stochastics::update_stochastics update_stochastics stochastic_physics::run_stochastic_physics_ocn run_stochastic_physics_ocn mom_stochastics::update_stochastics->stochastic_physics::run_stochastic_physics_ocn
Text view
API generated with Flint · Rendered from reStructuredText