MOM6
|
Data Types | |
interface | calculate_density_teos10 |
Functions/Subroutines | |
subroutine, public | calculate_density_scalar_teos10 (T, S, pressure, rho) |
This subroutine computes the in situ density of sea water (rho in units of kg/m^3) from salinity (S in psu), potential temperature (T in deg C), and pressure in Pa. It uses the expression from TEOS10 website. More... | |
subroutine, public | calculate_density_array_teos10 (T, S, pressure, rho, start, npts) |
subroutine, public | calculate_density_derivs_teos10 (T, S, pressure, drho_dT, drho_dS, start, npts) |
subroutine, public | calculate_specvol_derivs_teos10 (T, S, pressure, dSV_dT, dSV_dS, start, npts) |
subroutine, public | calculate_compress_teos10 (T, S, pressure, rho, drho_dp, start, npts) |
This subroutine computes the in situ density of sea water (rho in * units of kg/m^3) and the compressibility (drho/dp = C_sound^-2) * (drho_dp in units of s2 m-2) from salinity (sal in psu), potential* temperature (T in deg C), and pressure in Pa. It uses the * subroutines from TEOS10 website. More... | |
Variables | |
real, parameter | pa2db = 1.e-4 |
subroutine, public mom_eos_teos10::calculate_compress_teos10 | ( | real, dimension(:), intent(in) | T, |
real, dimension(:), intent(in) | S, | ||
real, dimension(:), intent(in) | pressure, | ||
real, dimension(:), intent(out) | rho, | ||
real, dimension(:), intent(out) | drho_dp, | ||
integer, intent(in) | start, | ||
integer, intent(in) | npts | ||
) |
This subroutine computes the in situ density of sea water (rho in * units of kg/m^3) and the compressibility (drho/dp = C_sound^-2) * (drho_dp in units of s2 m-2) from salinity (sal in psu), potential* temperature (T in deg C), and pressure in Pa. It uses the * subroutines from TEOS10 website.
[in] | t | Conservative temperature in C. |
[in] | s | Absolute salinity in g/kg. |
[in] | pressure | Pressure in Pa. |
[out] | rho | In situ density in kg m-3. |
[out] | drho_dp | The partial derivative of density with pressure (also the inverse of the square of sound speed) in s2 m-2. |
[in] | start | The starting point in the arrays. |
[in] | npts | The number of values to calculate. |
Definition at line 185 of file MOM_EOS_TEOS10.F90.
References pa2db.
subroutine, public mom_eos_teos10::calculate_density_array_teos10 | ( | real, dimension(:), intent(in) | T, |
real, dimension(:), intent(in) | S, | ||
real, dimension(:), intent(in) | pressure, | ||
real, dimension(:), intent(out) | rho, | ||
integer, intent(in) | start, | ||
integer, intent(in) | npts | ||
) |
Definition at line 83 of file MOM_EOS_TEOS10.F90.
References pa2db.
Referenced by calculate_density_scalar_teos10().
subroutine, public mom_eos_teos10::calculate_density_derivs_teos10 | ( | real, dimension(:), intent(in) | T, |
real, dimension(:), intent(in) | S, | ||
real, dimension(:), intent(in) | pressure, | ||
real, dimension(:), intent(out) | drho_dT, | ||
real, dimension(:), intent(out) | drho_dS, | ||
integer, intent(in) | start, | ||
integer, intent(in) | npts | ||
) |
[in] | t | Conservative temperature in C. |
[in] | s | Absolute salinity in g/kg. |
[in] | pressure | Pressure in Pa. |
[out] | drho_dt | The partial derivative of density with potential temperature, in kg m-3 K-1. |
[out] | drho_ds | The partial derivative of density with salinity, in kg m-3 psu-1. |
[in] | start | The starting point in the arrays. |
[in] | npts | The number of values to calculate. |
Definition at line 114 of file MOM_EOS_TEOS10.F90.
References pa2db.
subroutine, public mom_eos_teos10::calculate_density_scalar_teos10 | ( | real, intent(in) | T, |
real, intent(in) | S, | ||
real, intent(in) | pressure, | ||
real, intent(out) | rho | ||
) |
This subroutine computes the in situ density of sea water (rho in units of kg/m^3) from salinity (S in psu), potential temperature (T in deg C), and pressure in Pa. It uses the expression from TEOS10 website.
[in] | t | Conservative temperature in C. |
[in] | s | Absolute salinity in g/kg. |
[in] | pressure | Pressure in Pa. |
[out] | rho | In situ density in kg m-3. |
Definition at line 52 of file MOM_EOS_TEOS10.F90.
References calculate_density_array_teos10().
subroutine, public mom_eos_teos10::calculate_specvol_derivs_teos10 | ( | real, dimension(:), intent(in) | T, |
real, dimension(:), intent(in) | S, | ||
real, dimension(:), intent(in) | pressure, | ||
real, dimension(:), intent(out) | dSV_dT, | ||
real, dimension(:), intent(out) | dSV_dS, | ||
integer, intent(in) | start, | ||
integer, intent(in) | npts | ||
) |
[in] | t | Conservative temperature in C. |
[in] | s | Absolute salinity in g/kg. |
[in] | pressure | Pressure in Pa. |
[out] | dsv_dt | The partial derivative of specific volume with potential temperature, in m3 kg-1 K-1. |
[out] | dsv_ds | The partial derivative of specific volume with salinity, in m3 kg-1 / (g/kg). |
[in] | start | The starting point in the arrays. |
[in] | npts | The number of values to calculate. |
Definition at line 147 of file MOM_EOS_TEOS10.F90.
References pa2db.
|
private |
Definition at line 43 of file MOM_EOS_TEOS10.F90.
Referenced by calculate_compress_teos10(), calculate_density_array_teos10(), calculate_density_derivs_teos10(), and calculate_specvol_derivs_teos10().