MOM6
MOM_diapyc_energy_req.F90 File Reference
#include "version_variable.h"
Include dependency graph for MOM_diapyc_energy_req.F90:

Go to the source code of this file.

Data Types

type  mom_diapyc_energy_req::diapyc_energy_req_cs
 This control structure holds parameters for the MOM_diapyc_energy_req module. More...
 

Modules

module  mom_diapyc_energy_req
 Calculates the energy requirements of mixing.
 

Functions/Subroutines

subroutine, public mom_diapyc_energy_req::diapyc_energy_req_test (h_3d, dt, tv, G, GV, US, CS, Kd_int)
 This subroutine helps test the accuracy of the diapycnal mixing energy requirement code by writing diagnostics, possibly using an intensely mixing test profile of diffusivity. More...
 
subroutine, public mom_diapyc_energy_req::diapyc_energy_req_calc (h_in, T_in, S_in, Kd, energy_Kd, dt, tv, G, GV, US, may_print, CS)
 This subroutine uses a substantially refactored tridiagonal equation for diapycnal mixing of temperature and salinity to estimate the potential energy change due to diapycnal mixing in a column of water. It does this estimate 4 different ways, all of which should be equivalent, but reports only one. The various estimates are taken because they will later be used as templates for other bits of code. More...
 
subroutine mom_diapyc_energy_req::find_pe_chg (Kddt_h0, dKddt_h, hp_a, hp_b, Th_a, Sh_a, Th_b, Sh_b, dT_to_dPE_a, dS_to_dPE_a, dT_to_dPE_b, dS_to_dPE_b, pres_Z, dT_to_dColHt_a, dS_to_dColHt_a, dT_to_dColHt_b, dS_to_dColHt_b, PE_chg, dPEc_dKd, dPE_max, dPEc_dKd_0, ColHt_cor)
 This subroutine calculates the change in potential energy and or derivatives for several changes in an interfaces's diapycnal diffusivity times a timestep. More...
 
subroutine mom_diapyc_energy_req::find_pe_chg_orig (Kddt_h, h_k, b_den_1, dTe_term, dSe_term, dT_km1_t2, dS_km1_t2, dT_to_dPE_k, dS_to_dPE_k, dT_to_dPEa, dS_to_dPEa, pres_Z, dT_to_dColHt_k, dS_to_dColHt_k, dT_to_dColHta, dS_to_dColHta, PE_chg, dPEc_dKd, dPE_max, dPEc_dKd_0)
 This subroutine calculates the change in potential energy and or derivatives for several changes in an interfaces's diapycnal diffusivity times a timestep using the original form used in the first version of ePBL. More...
 
subroutine, public mom_diapyc_energy_req::diapyc_energy_req_init (Time, G, GV, US, param_file, diag, CS)
 Initialize parameters and allocate memory associated with the diapycnal energy requirement module. More...
 
subroutine, public mom_diapyc_energy_req::diapyc_energy_req_end (CS)
 Clean up and deallocate memory associated with the diapycnal energy requirement module. More...