stochastic_physics module reference
Functions/Subroutines
Initializes the stochastic physics perturbations. |
|
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
Callers call graph
- 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]