MOM_diabatic_driver module reference

This routine drives the diabatic/dianeutral physics for MOM

Data Types

diabatic_CS

Control structure for this module

Functions/Subroutines

diabatic

This subroutine imposes the diapycnal mass fluxes and the accompanying diapycnal advection of momentum and tracers.

diabatic_ALE_legacy

Applies diabatic forcing and diapycnal mixing of temperature, salinity and other tracers for use with an ALE algorithm. This version uses an older set of algorithms compared with diabatic_ALE.

diabatic_ALE

This subroutine imposes the diapycnal mass fluxes and the accompanying diapycnal advection of momentum and tracers.

layered_diabatic

Imposes the diapycnal mass fluxes and the accompanying diapycnal advection of momentum and tracers using the original MOM6 algorithms.

extract_diabatic_member

Returns pointers or values of members within the diabatic_CS type. For extensibility, each returned argument is an optional argument

adiabatic

Routine called for adiabatic physics

diagnose_diabatic_diff_tendency

This routine diagnoses tendencies from application of diabatic diffusion using ALE algorithm. Note that layer thickness is not altered by diabatic diffusion.

diagnose_boundary_forcing_tendency

This routine diagnoses tendencies from application of boundary fluxes. These impacts are generally 3d, in particular for penetrative shortwave. Other fluxes contribute 3d in cases when the layers vanish or are very thin, in which case we distribute the flux into k > 1 layers.

diagnose_frazil_tendency

This routine diagnoses tendencies for temperature and heat from frazil formation. This routine is called twice from within subroutine diabatic; at start and at end of the diabatic processes. The impacts from frazil are generally a function of depth. Hence, when checking heat budget, be sure to remove HFSIFRAZIL from HFDS in k=1.

adiabatic_driver_init

A simplified version of diabatic_driver_init that will allow tracer column functions to be called without allowing any of the diabatic processes to be used.

diabatic_driver_init

This routine initializes the diabatic driver module.

register_diabatic_restarts

Routine to register restarts, pass-through to children modules

diabatic_driver_end

Routine to close the diabatic driver module

Detailed Description

By Robert Hallberg, Alistair Adcroft, and Stephen Griffies

This program contains the subroutine that, along with the subroutines that it calls, implements diapycnal mass and momentum fluxes and a bulk mixed layer. The diapycnal diffusion can be used without the bulk mixed layer.

Outline of MOM diabatic

  • diabatic first determines the (diffusive) diapycnal mass fluxes based on the convergence of the buoyancy fluxes within each layer.

  • The dual-stream entrainment scheme of MacDougall and Dewar (JPO,

  1. is used for combined diapycnal advection and diffusion, calculated implicitly and potentially with the Richardson number dependent mixing, as described by Hallberg (MWR, 2000).

  • Diapycnal advection is the residual of diapycnal diffusion, so the fully implicit upwind differencing scheme that is used is entirely appropriate.

  • The downward buoyancy flux in each layer is determined from an implicit calculation based on the previously calculated flux of the layer above and an estimated flux in the layer below. This flux is subject to the following conditions: (1) the flux in the top and bottom layers are set by the boundary conditions, and (2) no layer may be driven below a minimal thickness. If there is a bulk mixed layer, the buffer layer is treated as a fixed density layer with vanishingly small diffusivity.

diabatic takes 5 arguments: the two velocities (u and v), the thicknesses (h), a structure containing the forcing fields, and the length of time over which to act (dt). The velocities and thickness are taken as inputs and modified within the subroutine. There is no limit on the time step.

Type Documentation

type, public :: diabatic_CS

Control structure for this module

Parameters
  • initialized

    True if this control structure has been initialized.

  • use_legacy_diabatic

    If true (default), use a legacy version of the diabatic algorithm. This is temporary and is needed to avoid change in answers.

  • use_bulkmixedlayer

    If true, a refined bulk mixed layer is used with nkml sublayers (and additional buffer layers).

  • use_energetic_PBL

    If true, use the implicit energetics planetary boundary layer scheme to determine the diffusivity in the surface boundary layer.

  • use_KPP

    If true, use CVMix/KPP boundary layer scheme to determine the OBLD and the diffusivities within this layer.

  • use_kappa_shear

    If true, use the kappa_shear module to find the shear-driven diapycnal diffusivity.

  • use_CVMix_shear

    If true, use the CVMix module to find the shear-driven diapycnal diffusivity.

  • use_CVMix_ddiff

    If true, use the CVMix double diffusion module.

  • use_CVMix_conv

    If true, use the CVMix module to get enhanced mixing due to convection.

  • double_diffuse

    If true, some form of double-diffusive mixing is used.

  • use_sponge

    If true, sponges may be applied anywhere in the domain. The exact location and properties of those sponges are set by calls to initialize_sponge and set_up_sponge_field.

  • use_oda_incupd

    If True, DA incremental update is applied everywhere

  • use_geothermal

    If true, apply geothermal heating.

  • use_int_tides

    If true, use the code that advances a separate set of equations for the internal tide energy density.

  • ePBL_is_additive

    If true, the diffusivity from ePBL is added to all other diffusivities. Otherwise, the larger of kappa- shear and ePBL diffusivities are used.

  • ePBL_Prandtl

    The Prandtl number used by ePBL to convert vertical diffusivities into viscosities [nondim].

  • useALEalgorithm

    If true, use the ALE algorithm rather than layered isopycnal/stacked shallow water mode. This logical passed by argument to diabatic_driver_init.

  • aggregate_FW_forcing

    Determines whether net incoming/outgoing surface FW fluxes are applied separately or combined before being applied.

  • ML_mix_first

    The nondimensional fraction of the mixed layer algorithm that is applied before diffusive mixing [nondim]. The default is 0, while 0.5 gives Strang splitting and 1 is a sensible value too. Note that if there are convective instabilities in the initial state, the first call may do much more than the second.

  • NKBL

    The number of buffer layers (if bulk_mixed_layer)

  • massless_match_targets

    If true (the default), keep the T & S consistent with the target values.

  • mix_boundary_tracers

    If true, mix the passive tracers in massless layers at the bottom into the interior as though a diffusivity of Kd_min_tr (see below) were operating.

  • mix_boundary_tracer_ALE

    If true, in ALE mode mix the passive tracers in massless layers at the bottom into the interior as though a diffusivity of Kd_min_tr (see below) were operating.

  • Kd_BBL_tr

    A bottom boundary layer tracer diffusivity that will allow for explicitly specified bottom fluxes [H2 T-1 ~> m2 s-1 or kg2 m-4 s-1]. The entrainment at the bottom is at least sqrt(Kd_BBL_tr*dt) over the same distance.

  • Kd_min_tr

    A minimal diffusivity that should always be applied to tracers, especially in massless layers near the bottom [H Z T-1 ~> m2 s-1 or kg m-1 s-1]

  • minimum_forcing_depth

    The smallest depth over which heat and freshwater fluxes are applied [H ~> m or kg m-2].

  • evap_CFL_limit

    The largest fraction of a layer that can be evaporated in one time-step [nondim].

  • halo_TS_diff

    The temperature, salinity and thickness halo size that must be valid for the diffusivity calculations.

  • halo_diabatic

    The temperature, salinity, specific volume and thickness halo size that must be valid for the diabatic calculations, including vertical mixing and internal tide propagation.

  • useKPP

    use CVMix/KPP diffusivities and non-local transport

  • KPPisPassive

    If true, KPP is in passive mode, not changing answers.

  • debug

    If true, write verbose checksums for debugging purposes.

  • debugConservation

    If true, monitor conservation and extrema.

  • tracer_tridiag

    If true, use tracer_vertdiff instead of tridiagTS for vertical diffusion of T and S

  • debug_energy_req

    If true, test the mixing energy requirement code.

  • diag

    structure used to regulate timing of diagnostic output

  • MLDdensityDifference

    Density difference used to determine MLD_user [R ~> kg m-3]

  • dz_subML_N2

    The distance over which to calculate a diagnostic of the average stratification at the base of the mixed layer [Z ~> m].

  • MLD_En_vals

    Energy values for energy mixed layer diagnostics [R Z3 T-2 ~> J m-2]

  • BMLD_En_vals

    Energy values for energy bottom mixed layer diagnostics [R Z3 T-2 ~> J m-2]

  • use_OM4_MLD_En_iter

    If true, uses an older iteration in the energetics MLD calculation to bitwise reproduce OM4 era models

  • ref_h_mld

    The depth of the "surface" density used in a difference mixed based MLD calculation [Z ~> m].

  • Use_KdWork_diag

    Logical flag to indicate if any Kd_work diagnostics are on.

  • Use_N2_diag

    Logical flag to indicate if any N2 diagnostics are on.

  • MLD_param_003

    Logical flag if MLD in brine plume should use the 0.03 mixed layer depth

  • MLD_param_EN1

    Logical flag if MLD in brine plume should use the EN1 mixed layer depth

  • MLD_param_ePBL

    Logical flag if MLD in brine plume should use the ePBL boundary layer depth

  • prediabatic_T

    Temperature prior to calling diabatic driver [C ~> degC]

  • id_ea

    Diagnostic IDs

  • id_eb

    Diagnostic IDs

  • id_ea_t

    Diagnostic IDs

  • id_eb_t

    Diagnostic IDs

  • id_ea_s

    Diagnostic IDs

  • id_eb_s

    Diagnostic IDs

  • id_Kd_heat

    Diagnostic IDs

  • id_Kd_salt

    Diagnostic IDs

  • id_Kd_int

    Diagnostic IDs

  • id_Kd_ePBL

    Diagnostic IDs

  • id_Tdif

    Diagnostic IDs

  • id_Sdif

    Diagnostic IDs

  • id_Tadv

    Diagnostic IDs

  • id_Sadv

    Diagnostic IDs

  • id_N2_dd

    Diagnostic IDs

  • id_N2_salt_dd

    Diagnostic IDs

  • id_N2_temp_dd

    Diagnostic IDs

  • id_MLD_003

    Diagnostic IDs

  • id_MLD_0125

    Diagnostic IDs

  • id_MLD_user

    Diagnostic IDs

  • id_mlotstsq

    Diagnostic IDs

  • id_MLD_003_zr

    Diagnostic IDs

  • id_MLD_003_rr

    Diagnostic IDs

  • id_MLD_EN1

    Diagnostic IDs

  • id_MLD_EN2

    Diagnostic IDs

  • id_MLD_EN3

    Diagnostic IDs

  • id_subMLN2

    Diagnostic IDs

  • id_BMLD_EN1

    Diagnostic IDs

  • id_BMLD_EN2

    Diagnostic IDs

  • id_BMLD_EN3

    Diagnostic IDs

  • id_wd

    Diagnostic IDs

  • id_dudt_dia

    Diagnostic IDs

  • id_dvdt_dia

    Diagnostic IDs

  • id_hf_dudt_dia_2d

    Diagnostic IDs

  • id_hf_dvdt_dia_2d

    Diagnostic IDs

  • id_u_predia

    Diagnostic IDs

  • id_v_predia

    Diagnostic IDs

  • id_h_predia

    Diagnostic IDs

  • id_T_predia

    Diagnostic IDs

  • id_S_predia

    Diagnostic IDs

  • id_e_predia

    Diagnostic IDs

  • id_diabatic_diff_temp_tend

    Diagnostic IDs

  • id_diabatic_diff_saln_tend

    Diagnostic IDs

  • id_diabatic_diff_heat_tend

    Diagnostic IDs

  • id_diabatic_diff_salt_tend

    Diagnostic IDs

  • id_diabatic_diff_heat_tend_2d

    Diagnostic IDs

  • id_diabatic_diff_salt_tend_2d

    Diagnostic IDs

  • id_diabatic_diff_h

    Diagnostic IDs

  • id_boundary_forcing_h

    Diagnostic IDs

  • id_boundary_forcing_h_tendency

    Diagnostic IDs

  • id_boundary_forcing_temp_tend

    Diagnostic IDs

  • id_boundary_forcing_saln_tend

    Diagnostic IDs

  • id_boundary_forcing_heat_tend

    Diagnostic IDs

  • id_boundary_forcing_salt_tend

    Diagnostic IDs

  • id_boundary_forcing_heat_tend_2d

    Diagnostic IDs

  • id_boundary_forcing_salt_tend_2d

    Diagnostic IDs

  • id_frazil_h

    Diagnostic IDs

  • id_frazil_temp_tend

    Diagnostic IDs

  • id_frazil_heat_tend

    Diagnostic IDs

  • id_frazil_heat_tend_2d

    Diagnostic IDs

  • diabatic_diff_tendency_diag

    If true calculate diffusive tendency diagnostics

  • boundary_forcing_tendency_diag

    If true calculate frazil diagnostics

  • frazil_tendency_diag

    If true calculate frazil tendency diagnostics

  • diabatic_aux_CSp

    Control structure for a child module

  • int_tide_input_CSp

    Control structure for a child module

  • int_tide_input

    Control structure for a child module

  • set_diff_CSp

    Control structure for a child module

  • sponge_CSp

    Control structure for a child module

  • ALE_sponge_CSp

    Control structure for a child module

  • tracer_flow_CSp

    Control structure for a child module

  • optics

    Control structure for a child module

  • KPP_CSp

    Control structure for a child module

  • diapyc_en_rec_CSp

    Control structure for a child module

  • oda_incupd_CSp

    Control structure for a child module

  • int_tide_CSp

    Control structure for a child module

  • VBF

    Control structure for a child module

  • bulkmixedlayer

    Bulk mixed layer control structure

  • CVMix_conv

    CVMix convection control structure

  • ePBL

    Energetic PBL control structure

  • entrain_diffusive

    Diffusive entrainment control structure

  • geothermal

    Geothermal control structure

  • opacity

    Opacity control structure

  • regularize_layers

    Regularize layer control structure

  • pass_hold_eb_ea

    For group halo pass

  • diag_grids_prev

    Stores diagnostic grids at some previous point in the algorithm

  • Time

    Pointer to model time (needed for sponges)

Functions/Subroutine Documentation

subroutine diabatic(u, v, h, tv, BLD, fluxes, visc, ADp, CDp, dt, Time_end, G, GV, US, CS, stoch_CS, OBC, Waves)

This subroutine imposes the diapycnal mass fluxes and the accompanying diapycnal advection of momentum and tracers.

Parameters
  • G [inout]

    ocean grid structure

  • GV [in]

    ocean vertical grid structure

  • u [inout]

    zonal velocity [L T-1 ~> m s-1]

  • v [inout]

    meridional velocity [L T-1 ~> m s-1]

  • h [inout]

    thickness [H ~> m or kg m-2]

  • tv [inout]

    points to thermodynamic fields unused have NULL ptrs

  • BLD [inout]

    Active mixed layer depth [Z ~> m]

  • fluxes [inout]

    points to forcing fields unused fields have NULL ptrs

  • visc [inout]

    Structure with vertical viscosities, BBL properties and related fields

  • ADp [inout]

    Points to accelerations in momentum equations, to enable the later derived diagnostics, like energy budgets

  • CDp [inout]

    points to terms in continuity equations

  • dt [in]

    time increment [T ~> s]

  • Time_end [in]

    Time at the end of the interval

  • US [in]

    A dimensional unit scaling type

  • CS

    module control structure

  • stoch_CS

    stochastic control structure

  • OBC

    Open boundaries control structure.

  • Waves

    Surface gravity waves

Callees call graph
Callees of mom_diabatic_driver::diabatic calls cluster_mom_checksum_packages MOM_checksum_packages cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_diabatic_aux MOM_diabatic_aux cluster_mom_diabatic_driver MOM_diabatic_driver cluster_mom_diag_mediator MOM_diag_mediator cluster_mom_diagnose_mld MOM_diagnose_mld cluster_mom_diapyc_energy_req MOM_diapyc_energy_req cluster_mom_domain_infra MOM_domain_infra cluster_mom_eos MOM_EOS cluster_mom_error_handler MOM_error_handler cluster_mom_forcing_type MOM_forcing_type cluster_mom_int_tide_input MOM_int_tide_input cluster_mom_interface_heights MOM_interface_heights cluster_mom_internal_tides MOM_internal_tides cluster_mom_set_diffusivity MOM_set_diffusivity cluster_mom_time_manager MOM_time_manager mom_checksum_packages::interface::mom_state_chksum MOM_state_chksum (interface) mom_checksum_packages::mom_state_stats MOM_state_stats mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom_diabatic_aux::make_frazil make_frazil mom_diabatic_driver::diabatic diabatic mom_diabatic_driver::diabatic->mom_checksum_packages::interface::mom_state_chksum mom_diabatic_driver::diabatic->mom_checksum_packages::mom_state_stats mom_diabatic_driver::diabatic->mom_cpu_clock_infra::cpu_clock_begin mom_diabatic_driver::diabatic->mom_cpu_clock_infra::cpu_clock_end mom_diabatic_driver::diabatic->mom_diabatic_aux::make_frazil mom_diabatic_driver::diabatic_ale diabatic_ALE [private/internal] mom_diabatic_driver::diabatic->mom_diabatic_driver::diabatic_ale mom_diabatic_driver::diabatic_ale_legacy diabatic_ALE_legacy [private/internal] mom_diabatic_driver::diabatic->mom_diabatic_driver::diabatic_ale_legacy mom_diabatic_driver::diagnose_frazil_tendency diagnose_frazil_tendency [private/internal] mom_diabatic_driver::diabatic->mom_diabatic_driver::diagnose_frazil_tendency mom_diabatic_driver::layered_diabatic layered_diabatic [private/internal] mom_diabatic_driver::diabatic->mom_diabatic_driver::layered_diabatic mom_diag_mediator::disable_averaging disable_averaging mom_diabatic_driver::diabatic->mom_diag_mediator::disable_averaging mom_diag_mediator::enable_averages enable_averages mom_diabatic_driver::diabatic->mom_diag_mediator::enable_averages mom_diag_mediator::interface::post_data post_data (interface) mom_diabatic_driver::diabatic->mom_diag_mediator::interface::post_data mom_diagnose_mld::diagnosemldbydensitydifference diagnoseMLDbyDensityDifference mom_diabatic_driver::diabatic->mom_diagnose_mld::diagnosemldbydensitydifference mom_diagnose_mld::diagnosemldbyenergy diagnoseMLDbyEnergy mom_diabatic_driver::diabatic->mom_diagnose_mld::diagnosemldbyenergy mom_diapyc_energy_req::diapyc_energy_req_test diapyc_energy_req_test mom_diabatic_driver::diabatic->mom_diapyc_energy_req::diapyc_energy_req_test mom_domain_infra::interface::pass_var pass_var (interface) mom_diabatic_driver::diabatic->mom_domain_infra::interface::pass_var mom_eos::interface::calculate_tfreeze calculate_TFreeze (interface) mom_diabatic_driver::diabatic->mom_eos::interface::calculate_tfreeze mom_error_handler::calltree_showquery callTree_showQuery mom_diabatic_driver::diabatic->mom_error_handler::calltree_showquery mom_error_handler::calltree_waypoint callTree_waypoint mom_diabatic_driver::diabatic->mom_error_handler::calltree_waypoint mom_error_handler::mom_error MOM_error mom_diabatic_driver::diabatic->mom_error_handler::mom_error mom_forcing_type::mom_forcing_chksum MOM_forcing_chksum mom_diabatic_driver::diabatic->mom_forcing_type::mom_forcing_chksum mom_int_tide_input::set_int_tide_input set_int_tide_input mom_diabatic_driver::diabatic->mom_int_tide_input::set_int_tide_input mom_interface_heights::convert_mld_to_ml_thickness convert_MLD_to_ML_thickness mom_diabatic_driver::diabatic->mom_interface_heights::convert_mld_to_ml_thickness mom_interface_heights::interface::find_eta find_eta (interface) mom_diabatic_driver::diabatic->mom_interface_heights::interface::find_eta mom_internal_tides::propagate_int_tide propagate_int_tide mom_diabatic_driver::diabatic->mom_internal_tides::propagate_int_tide mom_set_diffusivity::set_bbl_tke set_BBL_TKE mom_diabatic_driver::diabatic->mom_set_diffusivity::set_bbl_tke mom_time_manager::real_to_time real_to_time mom_diabatic_driver::diabatic->mom_time_manager::real_to_time
Text view
Callers call graph
Callers of mom_diabatic_driver::diabatic calls cluster_mom MOM cluster_mom_diabatic_driver MOM_diabatic_driver mom::step_mom_thermo step_MOM_thermo [private/internal] mom_diabatic_driver::diabatic diabatic mom::step_mom_thermo->mom_diabatic_driver::diabatic
Text view
subroutine diabatic_ALE_legacy(u, v, h, tv, BLD, fluxes, visc, ADp, CDp, dt, Time_end, G, GV, US, CS, stoch_CS, Waves)

Applies diabatic forcing and diapycnal mixing of temperature, salinity and other tracers for use with an ALE algorithm. This version uses an older set of algorithms compared with diabatic_ALE.

Parameters
  • G [inout]

    ocean grid structure

  • GV [in]

    ocean vertical grid structure

  • US [in]

    A dimensional unit scaling type

  • u [inout]

    zonal velocity [L T-1 ~> m s-1]

  • v [inout]

    meridional velocity [L T-1 ~> m s-1]

  • h [inout]

    thickness [H ~> m or kg m-2]

  • tv [inout]

    points to thermodynamic fields unused have NULL ptrs

  • BLD [inout]

    Active mixed layer depth [Z ~> m]

  • fluxes [inout]

    points to forcing fields unused fields have NULL ptrs

  • visc [inout]

    Structure with vertical viscosities, BBL properties and related fields

  • ADp [inout]

    Points to accelerations in momentum equations, to enable the later derived diagnostics, like energy budgets

  • CDp [inout]

    points to terms in continuity equations

  • dt [in]

    time increment [T ~> s]

  • Time_end [in]

    Time at the end of the interval

  • CS

    module control structure

  • stoch_CS

    stochastic control structure

  • Waves

    Surface gravity waves

  • ent_s

    Temperature contribution to squared buoyancy frequency at interfaces [T-2 ~> s-2]

  • ent_t

    Temperature contribution to squared buoyancy frequency at interfaces [T-2 ~> s-2]

  • Kd_int

    Temperature contribution to squared buoyancy frequency at interfaces [T-2 ~> s-2]

  • Kd_heat

    Temperature contribution to squared buoyancy frequency at interfaces [T-2 ~> s-2]

  • Kd_salt

    Temperature contribution to squared buoyancy frequency at interfaces [T-2 ~> s-2]

  • Kd_extra_T

    Temperature contribution to squared buoyancy frequency at interfaces [T-2 ~> s-2]

  • Kd_extra_S

    Temperature contribution to squared buoyancy frequency at interfaces [T-2 ~> s-2]

  • Kd_ePBL

    Temperature contribution to squared buoyancy frequency at interfaces [T-2 ~> s-2]

  • KPP_NLTheat

    Temperature contribution to squared buoyancy frequency at interfaces [T-2 ~> s-2]

  • KPP_NLTscalar

    Temperature contribution to squared buoyancy frequency at interfaces [T-2 ~> s-2]

  • KPP_buoy_flux

    Temperature contribution to squared buoyancy frequency at interfaces [T-2 ~> s-2]

  • Tdif_flx

    Temperature contribution to squared buoyancy frequency at interfaces [T-2 ~> s-2]

  • Sdif_flx

    Temperature contribution to squared buoyancy frequency at interfaces [T-2 ~> s-2]

  • N2_salt

    Salinity contribution to squared buoyancy frequency at interfaces [T-2 ~> s-2]

  • N2_temp

    Temperature contribution to squared buoyancy frequency at interfaces [T-2 ~> s-2]

Callees call graph
Callees of mom_diabatic_driver::diabatic_ale_legacy calls cluster_mom_ale_sponge MOM_ALE_sponge cluster_mom_checksum_packages MOM_checksum_packages cluster_mom_checksums MOM_checksums cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_cvmix_conv MOM_CVMix_conv cluster_mom_cvmix_kpp MOM_CVMix_KPP cluster_mom_diabatic_aux MOM_diabatic_aux cluster_mom_diabatic_driver MOM_diabatic_driver cluster_mom_diag_mediator MOM_diag_mediator cluster_mom_diagnose_kdwork MOM_diagnose_kdwork cluster_mom_energetic_pbl MOM_energetic_PBL cluster_mom_eos MOM_EOS cluster_mom_error_handler MOM_error_handler cluster_mom_forcing_type MOM_forcing_type cluster_mom_geothermal MOM_geothermal cluster_mom_interface_heights MOM_interface_heights cluster_mom_oda_incupd MOM_oda_incupd cluster_mom_opacity MOM_opacity cluster_mom_set_diffusivity MOM_set_diffusivity cluster_mom_tracer_diabatic MOM_tracer_diabatic cluster_mom_tracer_flow_control MOM_tracer_flow_control cluster_mom_variables MOM_variables mom_ale_sponge::apply_ale_sponge apply_ALE_sponge mom_checksum_packages::interface::mom_state_chksum MOM_state_chksum (interface) mom_checksum_packages::mom_state_stats MOM_state_stats mom_checksums::interface::hchksum hchksum (interface) mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom_cvmix_conv::calculate_cvmix_conv calculate_CVMix_conv mom_cvmix_kpp::kpp_calculate KPP_calculate mom_cvmix_kpp::kpp_compute_bld KPP_compute_BLD mom_cvmix_kpp::kpp_get_bld KPP_get_BLD mom_cvmix_kpp::kpp_get_lam2 KPP_get_Lam2 mom_cvmix_kpp::kpp_nonlocaltransport_saln KPP_NonLocalTransport_saln mom_cvmix_kpp::kpp_nonlocaltransport_temp KPP_NonLocalTransport_temp mom_diabatic_aux::adjust_salt adjust_salt mom_diabatic_aux::applyboundaryfluxesinout applyBoundaryFluxesInOut mom_diabatic_aux::differential_diffuse_t_s differential_diffuse_T_S mom_diabatic_aux::find_uv_at_h find_uv_at_h mom_diabatic_aux::set_pen_shortwave set_pen_shortwave mom_diabatic_aux::tridiagts_eulerian triDiagTS_Eulerian mom_diabatic_driver::diabatic_ale_legacy diabatic_ALE_legacy [private/internal] mom_diabatic_driver::diabatic_ale_legacy->mom_ale_sponge::apply_ale_sponge mom_diabatic_driver::diabatic_ale_legacy->mom_checksum_packages::interface::mom_state_chksum mom_diabatic_driver::diabatic_ale_legacy->mom_checksum_packages::mom_state_stats mom_diabatic_driver::diabatic_ale_legacy->mom_checksums::interface::hchksum mom_diabatic_driver::diabatic_ale_legacy->mom_cpu_clock_infra::cpu_clock_begin mom_diabatic_driver::diabatic_ale_legacy->mom_cpu_clock_infra::cpu_clock_end mom_diabatic_driver::diabatic_ale_legacy->mom_cvmix_conv::calculate_cvmix_conv mom_diabatic_driver::diabatic_ale_legacy->mom_cvmix_kpp::kpp_calculate mom_diabatic_driver::diabatic_ale_legacy->mom_cvmix_kpp::kpp_compute_bld mom_diabatic_driver::diabatic_ale_legacy->mom_cvmix_kpp::kpp_get_bld mom_diabatic_driver::diabatic_ale_legacy->mom_cvmix_kpp::kpp_get_lam2 mom_diabatic_driver::diabatic_ale_legacy->mom_cvmix_kpp::kpp_nonlocaltransport_saln mom_diabatic_driver::diabatic_ale_legacy->mom_cvmix_kpp::kpp_nonlocaltransport_temp mom_diabatic_driver::diabatic_ale_legacy->mom_diabatic_aux::adjust_salt mom_diabatic_driver::diabatic_ale_legacy->mom_diabatic_aux::applyboundaryfluxesinout mom_diabatic_driver::diabatic_ale_legacy->mom_diabatic_aux::differential_diffuse_t_s mom_diabatic_driver::diabatic_ale_legacy->mom_diabatic_aux::find_uv_at_h mom_diabatic_driver::diabatic_ale_legacy->mom_diabatic_aux::set_pen_shortwave mom_diabatic_driver::diabatic_ale_legacy->mom_diabatic_aux::tridiagts_eulerian mom_diabatic_driver::diagnose_boundary_forcing_tendency diagnose_boundary_forcing_tendency [private/internal] mom_diabatic_driver::diabatic_ale_legacy->mom_diabatic_driver::diagnose_boundary_forcing_tendency mom_diabatic_driver::diagnose_diabatic_diff_tendency diagnose_diabatic_diff_tendency [private/internal] mom_diabatic_driver::diabatic_ale_legacy->mom_diabatic_driver::diagnose_diabatic_diff_tendency mom_diag_mediator::diag_update_remap_grids diag_update_remap_grids mom_diabatic_driver::diabatic_ale_legacy->mom_diag_mediator::diag_update_remap_grids mom_diag_mediator::disable_averaging disable_averaging mom_diabatic_driver::diabatic_ale_legacy->mom_diag_mediator::disable_averaging mom_diag_mediator::enable_averages enable_averages mom_diabatic_driver::diabatic_ale_legacy->mom_diag_mediator::enable_averages mom_diag_mediator::interface::post_data post_data (interface) mom_diabatic_driver::diabatic_ale_legacy->mom_diag_mediator::interface::post_data mom_diagnose_kdwork::allocate_vbf_cs Allocate_VBF_CS mom_diabatic_driver::diabatic_ale_legacy->mom_diagnose_kdwork::allocate_vbf_cs mom_diagnose_kdwork::deallocate_vbf_cs Deallocate_VBF_CS mom_diabatic_driver::diabatic_ale_legacy->mom_diagnose_kdwork::deallocate_vbf_cs mom_diagnose_kdwork::kdwork_diagnostics KdWork_Diagnostics mom_diabatic_driver::diabatic_ale_legacy->mom_diagnose_kdwork::kdwork_diagnostics mom_energetic_pbl::energetic_pbl energetic_PBL mom_diabatic_driver::diabatic_ale_legacy->mom_energetic_pbl::energetic_pbl mom_energetic_pbl::energetic_pbl_get_mld energetic_PBL_get_MLD mom_diabatic_driver::diabatic_ale_legacy->mom_energetic_pbl::energetic_pbl_get_mld mom_eos::eos_domain EOS_domain mom_diabatic_driver::diabatic_ale_legacy->mom_eos::eos_domain mom_eos::interface::calculate_density_derivs calculate_density_derivs (interface) mom_diabatic_driver::diabatic_ale_legacy->mom_eos::interface::calculate_density_derivs mom_eos::interface::calculate_specific_vol_derivs calculate_specific_vol_derivs (interface) mom_diabatic_driver::diabatic_ale_legacy->mom_eos::interface::calculate_specific_vol_derivs mom_error_handler::calltree_enter callTree_enter mom_diabatic_driver::diabatic_ale_legacy->mom_error_handler::calltree_enter mom_error_handler::calltree_leave callTree_leave mom_diabatic_driver::diabatic_ale_legacy->mom_error_handler::calltree_leave mom_error_handler::calltree_showquery callTree_showQuery mom_diabatic_driver::diabatic_ale_legacy->mom_error_handler::calltree_showquery mom_error_handler::calltree_waypoint callTree_waypoint mom_diabatic_driver::diabatic_ale_legacy->mom_error_handler::calltree_waypoint mom_error_handler::mom_mesg MOM_mesg mom_diabatic_driver::diabatic_ale_legacy->mom_error_handler::mom_mesg mom_forcing_type::calculatebuoyancyflux2d calculateBuoyancyFlux2d mom_diabatic_driver::diabatic_ale_legacy->mom_forcing_type::calculatebuoyancyflux2d mom_forcing_type::interface::find_ustar find_ustar (interface) mom_diabatic_driver::diabatic_ale_legacy->mom_forcing_type::interface::find_ustar mom_forcing_type::mom_forcing_chksum MOM_forcing_chksum mom_diabatic_driver::diabatic_ale_legacy->mom_forcing_type::mom_forcing_chksum mom_geothermal::geothermal_in_place geothermal_in_place mom_diabatic_driver::diabatic_ale_legacy->mom_geothermal::geothermal_in_place mom_interface_heights::convert_mld_to_ml_thickness convert_MLD_to_ML_thickness mom_diabatic_driver::diabatic_ale_legacy->mom_interface_heights::convert_mld_to_ml_thickness mom_interface_heights::interface::thickness_to_dz thickness_to_dz (interface) mom_diabatic_driver::diabatic_ale_legacy->mom_interface_heights::interface::thickness_to_dz mom_oda_incupd::apply_oda_incupd apply_oda_incupd mom_diabatic_driver::diabatic_ale_legacy->mom_oda_incupd::apply_oda_incupd mom_opacity::optics_nbands optics_nbands mom_diabatic_driver::diabatic_ale_legacy->mom_opacity::optics_nbands mom_set_diffusivity::set_diffusivity set_diffusivity mom_diabatic_driver::diabatic_ale_legacy->mom_set_diffusivity::set_diffusivity mom_tracer_diabatic::tracer_vertdiff_eulerian tracer_vertdiff_Eulerian mom_diabatic_driver::diabatic_ale_legacy->mom_tracer_diabatic::tracer_vertdiff_eulerian mom_tracer_flow_control::call_tracer_column_fns call_tracer_column_fns mom_diabatic_driver::diabatic_ale_legacy->mom_tracer_flow_control::call_tracer_column_fns mom_variables::mom_thermovar_chksum MOM_thermovar_chksum mom_diabatic_driver::diabatic_ale_legacy->mom_variables::mom_thermovar_chksum
Text view
Callers call graph
Callers of mom_diabatic_driver::diabatic_ale_legacy calls cluster_mom_diabatic_driver MOM_diabatic_driver mom_diabatic_driver::diabatic diabatic mom_diabatic_driver::diabatic_ale_legacy diabatic_ALE_legacy [private/internal] mom_diabatic_driver::diabatic->mom_diabatic_driver::diabatic_ale_legacy
Text view
subroutine diabatic_ALE(u, v, h, tv, BLD, fluxes, visc, ADp, CDp, dt, Time_end, G, GV, US, CS, stoch_CS, Waves)

This subroutine imposes the diapycnal mass fluxes and the accompanying diapycnal advection of momentum and tracers.

Parameters
  • G [inout]

    ocean grid structure

  • GV [in]

    ocean vertical grid structure

  • US [in]

    A dimensional unit scaling type

  • u [inout]

    zonal velocity [L T-1 ~> m s-1]

  • v [inout]

    meridional velocity [L T-1 ~> m s-1]

  • h [inout]

    thickness [H ~> m or kg m-2]

  • tv [inout]

    points to thermodynamic fields unused have NULL ptrs

  • BLD [inout]

    Active mixed layer depth [Z ~> m]

  • fluxes [inout]

    points to forcing fields unused fields have NULL ptrs

  • visc [inout]

    Structure with vertical viscosities, BBL properties and related fields

  • ADp [inout]

    Points to accelerations in momentum equations, to enable the later derived diagnostics, like energy budgets

  • CDp [inout]

    points to terms in continuity equations

  • dt [in]

    time increment [T ~> s]

  • Time_end [in]

    Time at the end of the interval

  • CS

    module control structure

  • stoch_CS

    stochastic control structure

  • Waves

    Surface gravity waves

  • ent_s

    Temperature contribution to squared buoyancy frequency at interfaces [T-2 ~> s-2]

  • ent_t

    Temperature contribution to squared buoyancy frequency at interfaces [T-2 ~> s-2]

  • Kd_heat

    Temperature contribution to squared buoyancy frequency at interfaces [T-2 ~> s-2]

  • Kd_salt

    Temperature contribution to squared buoyancy frequency at interfaces [T-2 ~> s-2]

  • Kd_extra_T

    Temperature contribution to squared buoyancy frequency at interfaces [T-2 ~> s-2]

  • Kd_extra_S

    Temperature contribution to squared buoyancy frequency at interfaces [T-2 ~> s-2]

  • Kd_ePBL

    Temperature contribution to squared buoyancy frequency at interfaces [T-2 ~> s-2]

  • KPP_NLTheat

    Temperature contribution to squared buoyancy frequency at interfaces [T-2 ~> s-2]

  • KPP_NLTscalar

    Temperature contribution to squared buoyancy frequency at interfaces [T-2 ~> s-2]

  • KPP_buoy_flux

    Temperature contribution to squared buoyancy frequency at interfaces [T-2 ~> s-2]

  • Tdif_flx

    Temperature contribution to squared buoyancy frequency at interfaces [T-2 ~> s-2]

  • Sdif_flx

    Temperature contribution to squared buoyancy frequency at interfaces [T-2 ~> s-2]

  • N2_salt

    Salinity contribution to squared buoyancy frequency at interfaces [T-2 ~> s-2]

  • N2_temp

    Temperature contribution to squared buoyancy frequency at interfaces [T-2 ~> s-2]

Callees call graph
Callees of mom_diabatic_driver::diabatic_ale calls cluster_mom_ale_sponge MOM_ALE_sponge cluster_mom_checksum_packages MOM_checksum_packages cluster_mom_checksums MOM_checksums cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_cvmix_conv MOM_CVMix_conv cluster_mom_cvmix_kpp MOM_CVMix_KPP cluster_mom_diabatic_aux MOM_diabatic_aux cluster_mom_diabatic_driver MOM_diabatic_driver cluster_mom_diag_mediator MOM_diag_mediator cluster_mom_diagnose_kdwork MOM_diagnose_kdwork cluster_mom_domain_infra MOM_domain_infra cluster_mom_energetic_pbl MOM_energetic_PBL cluster_mom_eos MOM_EOS cluster_mom_error_handler MOM_error_handler cluster_mom_forcing_type MOM_forcing_type cluster_mom_geothermal MOM_geothermal cluster_mom_interface_heights MOM_interface_heights cluster_mom_oda_incupd MOM_oda_incupd cluster_mom_opacity MOM_opacity cluster_mom_set_diffusivity MOM_set_diffusivity cluster_mom_tracer_diabatic MOM_tracer_diabatic cluster_mom_tracer_flow_control MOM_tracer_flow_control cluster_mom_variables MOM_variables mom_ale_sponge::apply_ale_sponge apply_ALE_sponge mom_checksum_packages::interface::mom_state_chksum MOM_state_chksum (interface) mom_checksum_packages::mom_state_stats MOM_state_stats mom_checksums::interface::hchksum hchksum (interface) mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom_cvmix_conv::calculate_cvmix_conv calculate_CVMix_conv mom_cvmix_kpp::kpp_calculate KPP_calculate mom_cvmix_kpp::kpp_compute_bld KPP_compute_BLD mom_cvmix_kpp::kpp_get_bld KPP_get_BLD mom_cvmix_kpp::kpp_get_lam2 KPP_get_Lam2 mom_cvmix_kpp::kpp_nonlocaltransport_saln KPP_NonLocalTransport_saln mom_cvmix_kpp::kpp_nonlocaltransport_temp KPP_NonLocalTransport_temp mom_diabatic_aux::adjust_salt adjust_salt mom_diabatic_aux::applyboundaryfluxesinout applyBoundaryFluxesInOut mom_diabatic_aux::find_uv_at_h find_uv_at_h mom_diabatic_aux::set_pen_shortwave set_pen_shortwave mom_diabatic_driver::diabatic_ale diabatic_ALE [private/internal] mom_diabatic_driver::diabatic_ale->mom_ale_sponge::apply_ale_sponge mom_diabatic_driver::diabatic_ale->mom_checksum_packages::interface::mom_state_chksum mom_diabatic_driver::diabatic_ale->mom_checksum_packages::mom_state_stats mom_diabatic_driver::diabatic_ale->mom_checksums::interface::hchksum mom_diabatic_driver::diabatic_ale->mom_cpu_clock_infra::cpu_clock_begin mom_diabatic_driver::diabatic_ale->mom_cpu_clock_infra::cpu_clock_end mom_diabatic_driver::diabatic_ale->mom_cvmix_conv::calculate_cvmix_conv mom_diabatic_driver::diabatic_ale->mom_cvmix_kpp::kpp_calculate mom_diabatic_driver::diabatic_ale->mom_cvmix_kpp::kpp_compute_bld mom_diabatic_driver::diabatic_ale->mom_cvmix_kpp::kpp_get_bld mom_diabatic_driver::diabatic_ale->mom_cvmix_kpp::kpp_get_lam2 mom_diabatic_driver::diabatic_ale->mom_cvmix_kpp::kpp_nonlocaltransport_saln mom_diabatic_driver::diabatic_ale->mom_cvmix_kpp::kpp_nonlocaltransport_temp mom_diabatic_driver::diabatic_ale->mom_diabatic_aux::adjust_salt mom_diabatic_driver::diabatic_ale->mom_diabatic_aux::applyboundaryfluxesinout mom_diabatic_driver::diabatic_ale->mom_diabatic_aux::find_uv_at_h mom_diabatic_driver::diabatic_ale->mom_diabatic_aux::set_pen_shortwave mom_diabatic_driver::diagnose_boundary_forcing_tendency diagnose_boundary_forcing_tendency [private/internal] mom_diabatic_driver::diabatic_ale->mom_diabatic_driver::diagnose_boundary_forcing_tendency mom_diabatic_driver::diagnose_diabatic_diff_tendency diagnose_diabatic_diff_tendency [private/internal] mom_diabatic_driver::diabatic_ale->mom_diabatic_driver::diagnose_diabatic_diff_tendency mom_diag_mediator::diag_update_remap_grids diag_update_remap_grids mom_diabatic_driver::diabatic_ale->mom_diag_mediator::diag_update_remap_grids mom_diag_mediator::disable_averaging disable_averaging mom_diabatic_driver::diabatic_ale->mom_diag_mediator::disable_averaging mom_diag_mediator::enable_averages enable_averages mom_diabatic_driver::diabatic_ale->mom_diag_mediator::enable_averages mom_diag_mediator::interface::post_data post_data (interface) mom_diabatic_driver::diabatic_ale->mom_diag_mediator::interface::post_data mom_diagnose_kdwork::allocate_vbf_cs Allocate_VBF_CS mom_diabatic_driver::diabatic_ale->mom_diagnose_kdwork::allocate_vbf_cs mom_diagnose_kdwork::deallocate_vbf_cs Deallocate_VBF_CS mom_diabatic_driver::diabatic_ale->mom_diagnose_kdwork::deallocate_vbf_cs mom_diagnose_kdwork::kdwork_diagnostics KdWork_Diagnostics mom_diabatic_driver::diabatic_ale->mom_diagnose_kdwork::kdwork_diagnostics mom_domain_infra::interface::pass_var pass_var (interface) mom_diabatic_driver::diabatic_ale->mom_domain_infra::interface::pass_var mom_energetic_pbl::energetic_pbl energetic_PBL mom_diabatic_driver::diabatic_ale->mom_energetic_pbl::energetic_pbl mom_energetic_pbl::energetic_pbl_get_mld energetic_PBL_get_MLD mom_diabatic_driver::diabatic_ale->mom_energetic_pbl::energetic_pbl_get_mld mom_eos::eos_domain EOS_domain mom_diabatic_driver::diabatic_ale->mom_eos::eos_domain mom_eos::interface::calculate_density_derivs calculate_density_derivs (interface) mom_diabatic_driver::diabatic_ale->mom_eos::interface::calculate_density_derivs mom_eos::interface::calculate_specific_vol_derivs calculate_specific_vol_derivs (interface) mom_diabatic_driver::diabatic_ale->mom_eos::interface::calculate_specific_vol_derivs mom_error_handler::calltree_enter callTree_enter mom_diabatic_driver::diabatic_ale->mom_error_handler::calltree_enter mom_error_handler::calltree_leave callTree_leave mom_diabatic_driver::diabatic_ale->mom_error_handler::calltree_leave mom_error_handler::calltree_showquery callTree_showQuery mom_diabatic_driver::diabatic_ale->mom_error_handler::calltree_showquery mom_error_handler::calltree_waypoint callTree_waypoint mom_diabatic_driver::diabatic_ale->mom_error_handler::calltree_waypoint mom_error_handler::mom_error MOM_error mom_diabatic_driver::diabatic_ale->mom_error_handler::mom_error mom_error_handler::mom_mesg MOM_mesg mom_diabatic_driver::diabatic_ale->mom_error_handler::mom_mesg mom_forcing_type::calculatebuoyancyflux2d calculateBuoyancyFlux2d mom_diabatic_driver::diabatic_ale->mom_forcing_type::calculatebuoyancyflux2d mom_forcing_type::interface::find_ustar find_ustar (interface) mom_diabatic_driver::diabatic_ale->mom_forcing_type::interface::find_ustar mom_forcing_type::mom_forcing_chksum MOM_forcing_chksum mom_diabatic_driver::diabatic_ale->mom_forcing_type::mom_forcing_chksum mom_geothermal::geothermal_in_place geothermal_in_place mom_diabatic_driver::diabatic_ale->mom_geothermal::geothermal_in_place mom_interface_heights::convert_mld_to_ml_thickness convert_MLD_to_ML_thickness mom_diabatic_driver::diabatic_ale->mom_interface_heights::convert_mld_to_ml_thickness mom_interface_heights::interface::thickness_to_dz thickness_to_dz (interface) mom_diabatic_driver::diabatic_ale->mom_interface_heights::interface::thickness_to_dz mom_oda_incupd::apply_oda_incupd apply_oda_incupd mom_diabatic_driver::diabatic_ale->mom_oda_incupd::apply_oda_incupd mom_opacity::optics_nbands optics_nbands mom_diabatic_driver::diabatic_ale->mom_opacity::optics_nbands mom_set_diffusivity::set_diffusivity set_diffusivity mom_diabatic_driver::diabatic_ale->mom_set_diffusivity::set_diffusivity mom_tracer_diabatic::tracer_vertdiff_eulerian tracer_vertdiff_Eulerian mom_diabatic_driver::diabatic_ale->mom_tracer_diabatic::tracer_vertdiff_eulerian mom_tracer_flow_control::call_tracer_column_fns call_tracer_column_fns mom_diabatic_driver::diabatic_ale->mom_tracer_flow_control::call_tracer_column_fns mom_variables::mom_thermovar_chksum MOM_thermovar_chksum mom_diabatic_driver::diabatic_ale->mom_variables::mom_thermovar_chksum
Text view
Callers call graph
Callers of mom_diabatic_driver::diabatic_ale calls cluster_mom_diabatic_driver MOM_diabatic_driver mom_diabatic_driver::diabatic diabatic mom_diabatic_driver::diabatic_ale diabatic_ALE [private/internal] mom_diabatic_driver::diabatic->mom_diabatic_driver::diabatic_ale
Text view
subroutine layered_diabatic(u, v, h, tv, BLD, fluxes, visc, ADp, CDp, dt, Time_end, G, GV, US, CS, Waves)

Imposes the diapycnal mass fluxes and the accompanying diapycnal advection of momentum and tracers using the original MOM6 algorithms.

Parameters
  • G [inout]

    ocean grid structure

  • GV [in]

    ocean vertical grid structure

  • US [in]

    A dimensional unit scaling type

  • u [inout]

    zonal velocity [L T-1 ~> m s-1]

  • v [inout]

    meridional velocity [L T-1 ~> m s-1]

  • h [inout]

    thickness [H ~> m or kg m-2]

  • tv [inout]

    points to thermodynamic fields unused have NULL ptrs

  • BLD [inout]

    Active mixed layer depth [Z ~> m]

  • fluxes [inout]

    points to forcing fields unused fields have NULL ptrs

  • visc [inout]

    Structure with vertical viscosities, BBL properties and related fields

  • ADp [inout]

    Points to accelerations in momentum equations, to enable the later derived diagnostics, like energy budgets

  • CDp [inout]

    points to terms in continuity equations

  • dt [in]

    time increment [T ~> s]

  • Time_end [in]

    Time at the end of the interval

  • CS

    module control structure

  • Waves

    Surface gravity waves

Callees call graph
Callees of mom_diabatic_driver::layered_diabatic calls cluster_mom_bulk_mixed_layer MOM_bulk_mixed_layer cluster_mom_checksum_packages MOM_checksum_packages cluster_mom_checksums MOM_checksums cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_cvmix_conv MOM_CVMix_conv cluster_mom_cvmix_kpp MOM_CVMix_KPP cluster_mom_diabatic_aux MOM_diabatic_aux cluster_mom_diabatic_driver MOM_diabatic_driver cluster_mom_diag_mediator MOM_diag_mediator cluster_mom_domain_infra MOM_domain_infra cluster_mom_entrain_diffusive MOM_entrain_diffusive cluster_mom_eos MOM_EOS cluster_mom_error_handler MOM_error_handler cluster_mom_forcing_type MOM_forcing_type cluster_mom_geothermal MOM_geothermal cluster_mom_interface_heights MOM_interface_heights cluster_mom_oda_incupd MOM_oda_incupd cluster_mom_regularize_layers MOM_regularize_layers cluster_mom_set_diffusivity MOM_set_diffusivity cluster_mom_sponge MOM_sponge cluster_mom_tracer_diabatic MOM_tracer_diabatic cluster_mom_tracer_flow_control MOM_tracer_flow_control cluster_mom_variables MOM_variables mom_bulk_mixed_layer::bulkmixedlayer bulkmixedlayer mom_checksum_packages::interface::mom_state_chksum MOM_state_chksum (interface) mom_checksum_packages::mom_state_stats MOM_state_stats mom_checksums::interface::hchksum hchksum (interface) mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom_cvmix_conv::calculate_cvmix_conv calculate_CVMix_conv mom_cvmix_kpp::kpp_calculate KPP_calculate mom_cvmix_kpp::kpp_compute_bld KPP_compute_BLD mom_cvmix_kpp::kpp_get_bld KPP_get_BLD mom_cvmix_kpp::kpp_nonlocaltransport_saln KPP_NonLocalTransport_saln mom_cvmix_kpp::kpp_nonlocaltransport_temp KPP_NonLocalTransport_temp mom_diabatic_aux::adjust_salt adjust_salt mom_diabatic_aux::differential_diffuse_t_s differential_diffuse_T_S mom_diabatic_aux::find_uv_at_h find_uv_at_h mom_diabatic_aux::set_pen_shortwave set_pen_shortwave mom_diabatic_aux::tridiagts triDiagTS mom_diabatic_driver::diagnose_diabatic_diff_tendency diagnose_diabatic_diff_tendency [private/internal] mom_diabatic_driver::layered_diabatic layered_diabatic [private/internal] mom_diabatic_driver::layered_diabatic->mom_bulk_mixed_layer::bulkmixedlayer mom_diabatic_driver::layered_diabatic->mom_checksum_packages::interface::mom_state_chksum mom_diabatic_driver::layered_diabatic->mom_checksum_packages::mom_state_stats mom_diabatic_driver::layered_diabatic->mom_checksums::interface::hchksum mom_diabatic_driver::layered_diabatic->mom_cpu_clock_infra::cpu_clock_begin mom_diabatic_driver::layered_diabatic->mom_cpu_clock_infra::cpu_clock_end mom_diabatic_driver::layered_diabatic->mom_cvmix_conv::calculate_cvmix_conv mom_diabatic_driver::layered_diabatic->mom_cvmix_kpp::kpp_calculate mom_diabatic_driver::layered_diabatic->mom_cvmix_kpp::kpp_compute_bld mom_diabatic_driver::layered_diabatic->mom_cvmix_kpp::kpp_get_bld mom_diabatic_driver::layered_diabatic->mom_cvmix_kpp::kpp_nonlocaltransport_saln mom_diabatic_driver::layered_diabatic->mom_cvmix_kpp::kpp_nonlocaltransport_temp mom_diabatic_driver::layered_diabatic->mom_diabatic_aux::adjust_salt mom_diabatic_driver::layered_diabatic->mom_diabatic_aux::differential_diffuse_t_s mom_diabatic_driver::layered_diabatic->mom_diabatic_aux::find_uv_at_h mom_diabatic_driver::layered_diabatic->mom_diabatic_aux::set_pen_shortwave mom_diabatic_driver::layered_diabatic->mom_diabatic_aux::tridiagts mom_diabatic_driver::layered_diabatic->mom_diabatic_driver::diagnose_diabatic_diff_tendency mom_diag_mediator::diag_update_remap_grids diag_update_remap_grids mom_diabatic_driver::layered_diabatic->mom_diag_mediator::diag_update_remap_grids mom_diag_mediator::disable_averaging disable_averaging mom_diabatic_driver::layered_diabatic->mom_diag_mediator::disable_averaging mom_diag_mediator::enable_averages enable_averages mom_diabatic_driver::layered_diabatic->mom_diag_mediator::enable_averages mom_diag_mediator::interface::post_data post_data (interface) mom_diabatic_driver::layered_diabatic->mom_diag_mediator::interface::post_data mom_diag_mediator::post_product_sum_u post_product_sum_u mom_diabatic_driver::layered_diabatic->mom_diag_mediator::post_product_sum_u mom_diag_mediator::post_product_sum_v post_product_sum_v mom_diabatic_driver::layered_diabatic->mom_diag_mediator::post_product_sum_v mom_domain_infra::do_group_pass do_group_pass mom_diabatic_driver::layered_diabatic->mom_domain_infra::do_group_pass mom_domain_infra::interface::create_group_pass create_group_pass (interface) mom_diabatic_driver::layered_diabatic->mom_domain_infra::interface::create_group_pass mom_domain_infra::interface::pass_var pass_var (interface) mom_diabatic_driver::layered_diabatic->mom_domain_infra::interface::pass_var mom_entrain_diffusive::entrainment_diffusive entrainment_diffusive mom_diabatic_driver::layered_diabatic->mom_entrain_diffusive::entrainment_diffusive mom_eos::eos_domain EOS_domain mom_diabatic_driver::layered_diabatic->mom_eos::eos_domain mom_eos::interface::calculate_density calculate_density (interface) mom_diabatic_driver::layered_diabatic->mom_eos::interface::calculate_density mom_error_handler::calltree_enter callTree_enter mom_diabatic_driver::layered_diabatic->mom_error_handler::calltree_enter mom_error_handler::calltree_leave callTree_leave mom_diabatic_driver::layered_diabatic->mom_error_handler::calltree_leave mom_error_handler::calltree_showquery callTree_showQuery mom_diabatic_driver::layered_diabatic->mom_error_handler::calltree_showquery mom_error_handler::calltree_waypoint callTree_waypoint mom_diabatic_driver::layered_diabatic->mom_error_handler::calltree_waypoint mom_forcing_type::calculatebuoyancyflux2d calculateBuoyancyFlux2d mom_diabatic_driver::layered_diabatic->mom_forcing_type::calculatebuoyancyflux2d mom_forcing_type::interface::find_ustar find_ustar (interface) mom_diabatic_driver::layered_diabatic->mom_forcing_type::interface::find_ustar mom_forcing_type::mom_forcing_chksum MOM_forcing_chksum mom_diabatic_driver::layered_diabatic->mom_forcing_type::mom_forcing_chksum mom_geothermal::geothermal_entraining geothermal_entraining mom_diabatic_driver::layered_diabatic->mom_geothermal::geothermal_entraining mom_interface_heights::calc_derived_thermo calc_derived_thermo mom_diabatic_driver::layered_diabatic->mom_interface_heights::calc_derived_thermo mom_interface_heights::convert_mld_to_ml_thickness convert_MLD_to_ML_thickness mom_diabatic_driver::layered_diabatic->mom_interface_heights::convert_mld_to_ml_thickness mom_interface_heights::interface::thickness_to_dz thickness_to_dz (interface) mom_diabatic_driver::layered_diabatic->mom_interface_heights::interface::thickness_to_dz mom_oda_incupd::apply_oda_incupd apply_oda_incupd mom_diabatic_driver::layered_diabatic->mom_oda_incupd::apply_oda_incupd mom_regularize_layers::regularize_layers regularize_layers mom_diabatic_driver::layered_diabatic->mom_regularize_layers::regularize_layers mom_set_diffusivity::set_diffusivity set_diffusivity mom_diabatic_driver::layered_diabatic->mom_set_diffusivity::set_diffusivity mom_sponge::apply_sponge apply_sponge mom_diabatic_driver::layered_diabatic->mom_sponge::apply_sponge mom_tracer_diabatic::tracer_vertdiff tracer_vertdiff mom_diabatic_driver::layered_diabatic->mom_tracer_diabatic::tracer_vertdiff mom_tracer_flow_control::call_tracer_column_fns call_tracer_column_fns mom_diabatic_driver::layered_diabatic->mom_tracer_flow_control::call_tracer_column_fns mom_variables::mom_thermovar_chksum MOM_thermovar_chksum mom_diabatic_driver::layered_diabatic->mom_variables::mom_thermovar_chksum
Text view
Callers call graph
Callers of mom_diabatic_driver::layered_diabatic calls cluster_mom_diabatic_driver MOM_diabatic_driver mom_diabatic_driver::diabatic diabatic mom_diabatic_driver::layered_diabatic layered_diabatic [private/internal] mom_diabatic_driver::diabatic->mom_diabatic_driver::layered_diabatic
Text view
subroutine extract_diabatic_member(CS, opacity_CSp, optics_CSp, evap_CFL_limit, minimum_forcing_depth, KPP_CSp, energetic_PBL_CSp, diabatic_aux_CSp, diabatic_halo, use_KPP)

Returns pointers or values of members within the diabatic_CS type. For extensibility, each returned argument is an optional argument

Parameters
  • CS [in]

    module control structure

  • opacity_CSp

    A pointer to be set to the opacity control structure

  • optics_CSp

    A pointer to be set to the optics control structure

  • KPP_CSp

    A pointer to be set to the KPP CS

  • energetic_PBL_CSp

    A pointer to be set to the ePBL CS

  • evap_CFL_limit [out]

    The largest fraction of a layer that can be evaporated in one time-step [nondim].

  • minimum_forcing_depth [out]

    The smallest depth over which heat and freshwater fluxes are applied [H ~> m or kg m-2].

  • diabatic_aux_CSp

    A pointer to be set to the diabatic_aux control structure

  • diabatic_halo [out]

    The halo size where the diabatic algorithms assume thermodynamics properties are valid.

  • use_KPP [out]

    If true, diabatic is using KPP vertical mixing

Callers call graph
Callers of mom_diabatic_driver::extract_diabatic_member calls cluster_mom MOM cluster_mom_diabatic_driver MOM_diabatic_driver cluster_mom_dynamics_split_rk2 MOM_dynamics_split_RK2 cluster_mom_hor_bnd_diffusion MOM_hor_bnd_diffusion cluster_mom_neutral_diffusion MOM_neutral_diffusion cluster_mom_offline_main MOM_offline_main mom::initialize_mom initialize_MOM mom_diabatic_driver::extract_diabatic_member extract_diabatic_member mom::initialize_mom->mom_diabatic_driver::extract_diabatic_member mom::step_mom step_MOM mom::step_mom->mom_diabatic_driver::extract_diabatic_member mom::step_mom_thermo step_MOM_thermo [private/internal] mom::step_mom_thermo->mom_diabatic_driver::extract_diabatic_member mom::step_mom_tracer_dyn step_MOM_tracer_dyn [private/internal] mom::step_mom_tracer_dyn->mom_diabatic_driver::extract_diabatic_member mom_dynamics_split_rk2::init_dyn_split_rk2_diabatic init_dyn_split_RK2_diabatic mom_dynamics_split_rk2::init_dyn_split_rk2_diabatic->mom_diabatic_driver::extract_diabatic_member mom_hor_bnd_diffusion::hor_bnd_diffusion_init hor_bnd_diffusion_init mom_hor_bnd_diffusion::hor_bnd_diffusion_init->mom_diabatic_driver::extract_diabatic_member mom_neutral_diffusion::neutral_diffusion_init neutral_diffusion_init mom_neutral_diffusion::neutral_diffusion_init->mom_diabatic_driver::extract_diabatic_member mom_offline_main::offline_transport_init offline_transport_init mom_offline_main::offline_transport_init->mom_diabatic_driver::extract_diabatic_member
Text view
subroutine adiabatic(h, tv, fluxes, dt, G, GV, US, CS)

Routine called for adiabatic physics

Parameters
  • G [inout]

    ocean grid structure

  • GV [in]

    ocean vertical grid structure

  • h [inout]

    thickness [H ~> m or kg m-2]

  • tv [inout]

    points to thermodynamic fields

  • fluxes [inout]

    boundary fluxes

  • dt [in]

    time step [T ~> s]

  • US [in]

    A dimensional unit scaling type

  • CS

    module control structure

Callees call graph
Callees of mom_diabatic_driver::adiabatic calls cluster_mom_diabatic_driver MOM_diabatic_driver cluster_mom_tracer_flow_control MOM_tracer_flow_control mom_diabatic_driver::adiabatic adiabatic mom_tracer_flow_control::call_tracer_column_fns call_tracer_column_fns mom_diabatic_driver::adiabatic->mom_tracer_flow_control::call_tracer_column_fns
Text view
Callers call graph
Callers of mom_diabatic_driver::adiabatic calls cluster_mom MOM cluster_mom_diabatic_driver MOM_diabatic_driver mom::step_mom_thermo step_MOM_thermo [private/internal] mom_diabatic_driver::adiabatic adiabatic mom::step_mom_thermo->mom_diabatic_driver::adiabatic
Text view
subroutine diagnose_diabatic_diff_tendency(tv, h, temp_old, saln_old, dt, G, GV, US, CS)

This routine diagnoses tendencies from application of diabatic diffusion using ALE algorithm. Note that layer thickness is not altered by diabatic diffusion.

Parameters
  • G [in]

    ocean grid structure

  • GV [in]

    ocean vertical grid structure

  • tv [in]

    points to updated thermodynamic fields

  • h [in]

    thickness [H ~> m or kg m-2]

  • temp_old [in]

    temperature prior to diabatic physics [C ~> degC]

  • saln_old [in]

    salinity prior to diabatic physics [S ~> ppt]

  • dt [in]

    time step [T ~> s]

  • US [in]

    A dimensional unit scaling type

  • CS

    module control structure

Callees call graph
Callees of mom_diabatic_driver::diagnose_diabatic_diff_tendency calls cluster_mom_diabatic_driver MOM_diabatic_driver cluster_mom_diag_mediator MOM_diag_mediator mom_diabatic_driver::diagnose_diabatic_diff_tendency diagnose_diabatic_diff_tendency [private/internal] mom_diag_mediator::interface::post_data post_data (interface) mom_diabatic_driver::diagnose_diabatic_diff_tendency->mom_diag_mediator::interface::post_data
Text view
Callers call graph
Callers of mom_diabatic_driver::diagnose_diabatic_diff_tendency calls cluster_mom_diabatic_driver MOM_diabatic_driver mom_diabatic_driver::diabatic_ale diabatic_ALE [private/internal] mom_diabatic_driver::diagnose_diabatic_diff_tendency diagnose_diabatic_diff_tendency [private/internal] mom_diabatic_driver::diabatic_ale->mom_diabatic_driver::diagnose_diabatic_diff_tendency mom_diabatic_driver::diabatic_ale_legacy diabatic_ALE_legacy [private/internal] mom_diabatic_driver::diabatic_ale_legacy->mom_diabatic_driver::diagnose_diabatic_diff_tendency mom_diabatic_driver::layered_diabatic layered_diabatic [private/internal] mom_diabatic_driver::layered_diabatic->mom_diabatic_driver::diagnose_diabatic_diff_tendency
Text view
subroutine diagnose_boundary_forcing_tendency(tv, h, temp_old, saln_old, h_old, dt, G, GV, US, CS)

This routine diagnoses tendencies from application of boundary fluxes. These impacts are generally 3d, in particular for penetrative shortwave. Other fluxes contribute 3d in cases when the layers vanish or are very thin, in which case we distribute the flux into k > 1 layers.

Parameters
  • G [in]

    ocean grid structure

  • GV [in]

    ocean vertical grid structure

  • tv [in]

    points to updated thermodynamic fields

  • h [in]

    thickness after boundary flux application [H ~> m or kg m-2]

  • temp_old [in]

    temperature prior to boundary flux application [C ~> degC]

  • saln_old [in]

    salinity prior to boundary flux application [S ~> ppt]

  • h_old [in]

    thickness prior to boundary flux application [H ~> m or kg m-2]

  • dt [in]

    time step [T ~> s]

  • US [in]

    A dimensional unit scaling type

  • CS

    module control structure

Callees call graph
Callees of mom_diabatic_driver::diagnose_boundary_forcing_tendency calls cluster_mom_diabatic_driver MOM_diabatic_driver cluster_mom_diag_mediator MOM_diag_mediator mom_diabatic_driver::diagnose_boundary_forcing_tendency diagnose_boundary_forcing_tendency [private/internal] mom_diag_mediator::interface::post_data post_data (interface) mom_diabatic_driver::diagnose_boundary_forcing_tendency->mom_diag_mediator::interface::post_data
Text view
Callers call graph
Callers of mom_diabatic_driver::diagnose_boundary_forcing_tendency calls cluster_mom_diabatic_driver MOM_diabatic_driver mom_diabatic_driver::diabatic_ale diabatic_ALE [private/internal] mom_diabatic_driver::diagnose_boundary_forcing_tendency diagnose_boundary_forcing_tendency [private/internal] mom_diabatic_driver::diabatic_ale->mom_diabatic_driver::diagnose_boundary_forcing_tendency mom_diabatic_driver::diabatic_ale_legacy diabatic_ALE_legacy [private/internal] mom_diabatic_driver::diabatic_ale_legacy->mom_diabatic_driver::diagnose_boundary_forcing_tendency
Text view
subroutine diagnose_frazil_tendency(tv, h, temp_old, dt, G, GV, US, CS)

This routine diagnoses tendencies for temperature and heat from frazil formation. This routine is called twice from within subroutine diabatic; at start and at end of the diabatic processes. The impacts from frazil are generally a function of depth. Hence, when checking heat budget, be sure to remove HFSIFRAZIL from HFDS in k=1.

Parameters
  • G [in]

    ocean grid structure

  • GV [in]

    ocean vertical grid structure

  • tv [in]

    points to updated thermodynamic fields

  • h [in]

    thickness [H ~> m or kg m-2]

  • temp_old [in]

    temperature prior to frazil formation [C ~> degC]

  • dt [in]

    time step [T ~> s]

  • US [in]

    A dimensional unit scaling type

  • CS

    module control structure

Callees call graph
Callees of mom_diabatic_driver::diagnose_frazil_tendency calls cluster_mom_diabatic_driver MOM_diabatic_driver cluster_mom_diag_mediator MOM_diag_mediator mom_diabatic_driver::diagnose_frazil_tendency diagnose_frazil_tendency [private/internal] mom_diag_mediator::interface::post_data post_data (interface) mom_diabatic_driver::diagnose_frazil_tendency->mom_diag_mediator::interface::post_data
Text view
Callers call graph
Callers of mom_diabatic_driver::diagnose_frazil_tendency calls cluster_mom_diabatic_driver MOM_diabatic_driver mom_diabatic_driver::diabatic diabatic mom_diabatic_driver::diagnose_frazil_tendency diagnose_frazil_tendency [private/internal] mom_diabatic_driver::diabatic->mom_diabatic_driver::diagnose_frazil_tendency
Text view
subroutine adiabatic_driver_init(Time, G, param_file, diag, CS, tracer_flow_CSp)

A simplified version of diabatic_driver_init that will allow tracer column functions to be called without allowing any of the diabatic processes to be used.

Parameters
  • Time [in]

    current model time

  • G [in]

    model grid structure

  • param_file [in]

    the file to parse for parameter values

  • diag [inout]

    regulates diagnostic output

  • CS

    module control structure

  • tracer_flow_CSp

    pointer to control structure of the tracer flow control module

Callees call graph
Callees of mom_diabatic_driver::adiabatic_driver_init calls cluster_mom_diabatic_driver MOM_diabatic_driver cluster_mom_error_handler MOM_error_handler cluster_mom_file_parser MOM_file_parser mom_diabatic_driver::adiabatic_driver_init adiabatic_driver_init mom_error_handler::mom_error MOM_error mom_diabatic_driver::adiabatic_driver_init->mom_error_handler::mom_error mom_file_parser::interface::get_param get_param (interface) mom_diabatic_driver::adiabatic_driver_init->mom_file_parser::interface::get_param mom_file_parser::interface::log_version log_version (interface) mom_diabatic_driver::adiabatic_driver_init->mom_file_parser::interface::log_version
Text view
Callers call graph
Callers of mom_diabatic_driver::adiabatic_driver_init calls cluster_mom MOM cluster_mom_diabatic_driver MOM_diabatic_driver mom::initialize_mom initialize_MOM mom_diabatic_driver::adiabatic_driver_init adiabatic_driver_init mom::initialize_mom->mom_diabatic_driver::adiabatic_driver_init
Text view
subroutine diabatic_driver_init(Time, G, GV, US, param_file, useALEalgorithm, diag, ADp, CDp, CS, tracer_flow_CSp, sponge_CSp, ALE_sponge_CSp, oda_incupd_CSp, int_tide_CSp)

This routine initializes the diabatic driver module.

Parameters
  • Time

    model time

  • G [inout]

    model grid structure

  • GV [in]

    model vertical grid structure

  • US [in]

    A dimensional unit scaling type

  • param_file [in]

    file to parse for parameter values

  • useALEalgorithm [in]

    logical for whether to use ALE remapping

  • diag [inout]

    structure to regulate diagnostic output

  • ADp [inout]

    pointers to accelerations in momentum equations, to enable diagnostics, like energy budgets

  • CDp [inout]

    pointers to terms in continuity equations

  • CS

    module control structure

  • tracer_flow_CSp

    pointer to control structure of the tracer flow control module

  • sponge_CSp

    pointer to the sponge module control structure

  • ALE_sponge_CSp

    pointer to the ALE sponge module control structure

  • oda_incupd_CSp

    pointer to the ocean data assimilation incremental update module control structure

  • int_tide_CSp

    pointer to the internal tide structure

Callees call graph
Callees of mom_diabatic_driver::diabatic_driver_init calls cluster_mom_bulk_mixed_layer MOM_bulk_mixed_layer cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_cvmix_conv MOM_CVMix_conv cluster_mom_cvmix_ddiff MOM_CVMix_ddiff cluster_mom_cvmix_kpp MOM_CVMix_KPP cluster_mom_cvmix_shear MOM_CVMix_shear cluster_mom_diabatic_aux MOM_diabatic_aux cluster_mom_diabatic_driver MOM_diabatic_driver cluster_mom_diag_mediator MOM_diag_mediator cluster_mom_diagnose_kdwork MOM_diagnose_kdwork cluster_mom_diapyc_energy_req MOM_diapyc_energy_req cluster_mom_energetic_pbl MOM_energetic_PBL cluster_mom_entrain_diffusive MOM_entrain_diffusive cluster_mom_error_handler MOM_error_handler cluster_mom_file_parser MOM_file_parser cluster_mom_geothermal MOM_geothermal cluster_mom_int_tide_input MOM_int_tide_input cluster_mom_internal_tides MOM_internal_tides cluster_mom_kappa_shear MOM_kappa_shear cluster_mom_opacity MOM_opacity cluster_mom_regularize_layers MOM_regularize_layers cluster_mom_safe_alloc MOM_safe_alloc cluster_mom_set_diffusivity MOM_set_diffusivity cluster_mom_tracer_flow_control MOM_tracer_flow_control cluster_mom_verticalgrid MOM_verticalGrid mom_bulk_mixed_layer::bulkmixedlayer_init bulkmixedlayer_init mom_cpu_clock_infra::cpu_clock_id cpu_clock_id mom_cvmix_conv::cvmix_conv_init CVMix_conv_init mom_cvmix_ddiff::cvmix_ddiff_is_used CVMix_ddiff_is_used mom_cvmix_kpp::kpp_init KPP_init mom_cvmix_shear::cvmix_shear_is_used CVMix_shear_is_used mom_diabatic_aux::diabatic_aux_init diabatic_aux_init mom_diabatic_driver::diabatic_driver_init diabatic_driver_init mom_diabatic_driver::diabatic_driver_init->mom_bulk_mixed_layer::bulkmixedlayer_init mom_diabatic_driver::diabatic_driver_init->mom_cpu_clock_infra::cpu_clock_id mom_diabatic_driver::diabatic_driver_init->mom_cvmix_conv::cvmix_conv_init mom_diabatic_driver::diabatic_driver_init->mom_cvmix_ddiff::cvmix_ddiff_is_used mom_diabatic_driver::diabatic_driver_init->mom_cvmix_kpp::kpp_init mom_diabatic_driver::diabatic_driver_init->mom_cvmix_shear::cvmix_shear_is_used mom_diabatic_driver::diabatic_driver_init->mom_diabatic_aux::diabatic_aux_init mom_diag_mediator::diag_grid_storage_init diag_grid_storage_init mom_diabatic_driver::diabatic_driver_init->mom_diag_mediator::diag_grid_storage_init mom_diag_mediator::register_diag_field register_diag_field mom_diabatic_driver::diabatic_driver_init->mom_diag_mediator::register_diag_field mom_diagnose_kdwork::kdwork_init KdWork_init mom_diabatic_driver::diabatic_driver_init->mom_diagnose_kdwork::kdwork_init mom_diapyc_energy_req::diapyc_energy_req_init diapyc_energy_req_init mom_diabatic_driver::diabatic_driver_init->mom_diapyc_energy_req::diapyc_energy_req_init mom_energetic_pbl::energetic_pbl_init energetic_PBL_init mom_diabatic_driver::diabatic_driver_init->mom_energetic_pbl::energetic_pbl_init mom_entrain_diffusive::entrain_diffusive_init entrain_diffusive_init mom_diabatic_driver::diabatic_driver_init->mom_entrain_diffusive::entrain_diffusive_init mom_error_handler::mom_error MOM_error mom_diabatic_driver::diabatic_driver_init->mom_error_handler::mom_error mom_file_parser::interface::get_param get_param (interface) mom_diabatic_driver::diabatic_driver_init->mom_file_parser::interface::get_param mom_file_parser::interface::log_version log_version (interface) mom_diabatic_driver::diabatic_driver_init->mom_file_parser::interface::log_version mom_geothermal::geothermal_init geothermal_init mom_diabatic_driver::diabatic_driver_init->mom_geothermal::geothermal_init mom_int_tide_input::int_tide_input_init int_tide_input_init mom_diabatic_driver::diabatic_driver_init->mom_int_tide_input::int_tide_input_init mom_internal_tides::internal_tides_init internal_tides_init mom_diabatic_driver::diabatic_driver_init->mom_internal_tides::internal_tides_init mom_kappa_shear::kappa_shear_is_used kappa_shear_is_used mom_diabatic_driver::diabatic_driver_init->mom_kappa_shear::kappa_shear_is_used mom_opacity::opacity_init opacity_init mom_diabatic_driver::diabatic_driver_init->mom_opacity::opacity_init mom_regularize_layers::regularize_layers_init regularize_layers_init mom_diabatic_driver::diabatic_driver_init->mom_regularize_layers::regularize_layers_init mom_safe_alloc::interface::safe_alloc_ptr safe_alloc_ptr (interface) mom_diabatic_driver::diabatic_driver_init->mom_safe_alloc::interface::safe_alloc_ptr mom_set_diffusivity::set_diffusivity_init set_diffusivity_init mom_diabatic_driver::diabatic_driver_init->mom_set_diffusivity::set_diffusivity_init mom_tracer_flow_control::extract_tracer_flow_member extract_tracer_flow_member mom_diabatic_driver::diabatic_driver_init->mom_tracer_flow_control::extract_tracer_flow_member mom_verticalgrid::get_thickness_units get_thickness_units mom_diabatic_driver::diabatic_driver_init->mom_verticalgrid::get_thickness_units
Text view
Callers call graph
Callers of mom_diabatic_driver::diabatic_driver_init calls cluster_mom MOM cluster_mom_diabatic_driver MOM_diabatic_driver mom::initialize_mom initialize_MOM mom_diabatic_driver::diabatic_driver_init diabatic_driver_init mom::initialize_mom->mom_diabatic_driver::diabatic_driver_init
Text view
subroutine register_diabatic_restarts(G, GV, US, param_file, int_tide_CSp, restart_CSp, CS)

Routine to register restarts, pass-through to children modules

Parameters
  • G [in]

    The ocean's grid structure

  • GV [in]

    The ocean's vertical grid structure

  • US [in]

    A dimensional unit scaling type

  • param_file [in]

    A structure to parse for run-time parameters

  • int_tide_CSp

    Internal tide control structure

  • restart_CSp

    MOM restart control structure

  • CS

    module control structure

Callees call graph
Callees of mom_diabatic_driver::register_diabatic_restarts calls cluster_mom_cvmix_kpp MOM_CVMix_KPP cluster_mom_diabatic_driver MOM_diabatic_driver cluster_mom_error_handler MOM_error_handler cluster_mom_file_parser MOM_file_parser cluster_mom_internal_tides MOM_internal_tides mom_cvmix_kpp::register_kpp_restarts register_KPP_restarts mom_diabatic_driver::register_diabatic_restarts register_diabatic_restarts mom_diabatic_driver::register_diabatic_restarts->mom_cvmix_kpp::register_kpp_restarts mom_error_handler::mom_error MOM_error mom_diabatic_driver::register_diabatic_restarts->mom_error_handler::mom_error mom_file_parser::interface::read_param read_param (interface) mom_diabatic_driver::register_diabatic_restarts->mom_file_parser::interface::read_param mom_internal_tides::register_int_tide_restarts register_int_tide_restarts mom_diabatic_driver::register_diabatic_restarts->mom_internal_tides::register_int_tide_restarts
Text view
Callers call graph
Callers of mom_diabatic_driver::register_diabatic_restarts calls cluster_mom MOM cluster_mom_diabatic_driver MOM_diabatic_driver mom::initialize_mom initialize_MOM mom_diabatic_driver::register_diabatic_restarts register_diabatic_restarts mom::initialize_mom->mom_diabatic_driver::register_diabatic_restarts
Text view
subroutine diabatic_driver_end(CS)

Routine to close the diabatic driver module

Parameters
  • CS [inout]

    module control structure

Callees call graph
Callees of mom_diabatic_driver::diabatic_driver_end calls cluster_mom_cvmix_kpp MOM_CVMix_KPP cluster_mom_diabatic_aux MOM_diabatic_aux cluster_mom_diabatic_driver MOM_diabatic_driver cluster_mom_diagnose_kdwork MOM_diagnose_kdwork cluster_mom_diapyc_energy_req MOM_diapyc_energy_req cluster_mom_energetic_pbl MOM_energetic_PBL cluster_mom_geothermal MOM_geothermal cluster_mom_opacity MOM_opacity cluster_mom_set_diffusivity MOM_set_diffusivity mom_cvmix_kpp::kpp_end KPP_end mom_diabatic_aux::diabatic_aux_end diabatic_aux_end mom_diabatic_driver::diabatic_driver_end diabatic_driver_end mom_diabatic_driver::diabatic_driver_end->mom_cvmix_kpp::kpp_end mom_diabatic_driver::diabatic_driver_end->mom_diabatic_aux::diabatic_aux_end mom_diagnose_kdwork::kdwork_end KdWork_end mom_diabatic_driver::diabatic_driver_end->mom_diagnose_kdwork::kdwork_end mom_diapyc_energy_req::diapyc_energy_req_end diapyc_energy_req_end mom_diabatic_driver::diabatic_driver_end->mom_diapyc_energy_req::diapyc_energy_req_end mom_energetic_pbl::energetic_pbl_end energetic_PBL_end mom_diabatic_driver::diabatic_driver_end->mom_energetic_pbl::energetic_pbl_end mom_geothermal::geothermal_end geothermal_end mom_diabatic_driver::diabatic_driver_end->mom_geothermal::geothermal_end mom_opacity::opacity_end opacity_end mom_diabatic_driver::diabatic_driver_end->mom_opacity::opacity_end mom_set_diffusivity::set_diffusivity_end set_diffusivity_end mom_diabatic_driver::diabatic_driver_end->mom_set_diffusivity::set_diffusivity_end
Text view
Callers call graph
Callers of mom_diabatic_driver::diabatic_driver_end calls cluster_mom MOM cluster_mom_diabatic_driver MOM_diabatic_driver mom::mom_end MOM_end mom_diabatic_driver::diabatic_driver_end diabatic_driver_end mom::mom_end->mom_diabatic_driver::diabatic_driver_end
Text view
API generated with Flint · Rendered from reStructuredText