MOM6
|
Data Types | |
interface | calculate_density_unesco |
Functions/Subroutines | |
subroutine, public | calculate_density_scalar_unesco (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 Wright, 1997, J. Atmos. Ocean. Tech., 14, 735-740. Coded by R. Hallberg, 7/00. More... | |
subroutine, public | calculate_density_array_unesco (T, S, pressure, rho, start, npts) |
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. More... | |
subroutine, public | calculate_density_derivs_unesco (T, S, pressure, drho_dT, drho_dS, start, npts) |
This subroutine calculates the partial derivatives of density with potential temperature and salinity. More... | |
subroutine, public | calculate_compress_unesco (T, S, pressure, rho, drho_dp, start, npts) |
This subroutine computes the in situ density of sea water (rho) and the compressibility (drho/dp == C_sound^-2) at the given salinity, potential temperature, and pressure. More... | |
Variables | |
real, parameter | r00 = 999.842594 |
real, parameter | r10 = 6.793952e-2 |
real, parameter | r20 = -9.095290e-3 |
real, parameter | r30 = 1.001685e-4 |
real, parameter | r40 = -1.120083e-6 |
real, parameter | r50 = 6.536332e-9 |
real, parameter | r01 = 0.824493 |
real, parameter | r11 = -4.0899e-3 |
real, parameter | r21 = 7.6438e-5 |
real, parameter | r31 = -8.2467e-7 |
real, parameter | r41 = 5.3875e-9 |
real, parameter | r032 = -5.72466e-3 |
real, parameter | r132 = 1.0227e-4 |
real, parameter | r232 = -1.6546e-6 |
real, parameter | r02 = 4.8314e-4 |
real, parameter | s00 = 1.965933e4 |
real, parameter | s10 = 1.444304e2 |
real, parameter | s20 = -1.706103 |
real, parameter | s30 = 9.648704e-3 |
real, parameter | s40 = -4.190253e-5 |
real, parameter | s01 = 52.84855 |
real, parameter | s11 = -3.101089e-1 |
real, parameter | s21 = 6.283263e-3 |
real, parameter | s31 = -5.084188e-5 |
real, parameter | s032 = 3.886640e-1 |
real, parameter | s132 = 9.085835e-3 |
real, parameter | s232 = -4.619924e-4 |
real, parameter | sp00 = 3.186519 |
real, parameter | sp10 = 2.212276e-2 |
real, parameter | sp20 = -2.984642e-4 |
real, parameter | sp30 = 1.956415e-6 |
real, parameter | sp01 = 6.704388e-3 |
real, parameter | sp11 = -1.847318e-4 |
real, parameter | sp21 = 2.059331e-7 |
real, parameter | sp032 = 1.480266e-4 |
real, parameter | sp000 = 2.102898e-4 |
real, parameter | sp010 = -1.202016e-5 |
real, parameter | sp020 = 1.394680e-7 |
real, parameter | sp001 = -2.040237e-6 |
real, parameter | sp011 = 6.128773e-8 |
real, parameter | sp021 = 6.207323e-10 |
subroutine, public mom_eos_unesco::calculate_compress_unesco | ( | 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) and the compressibility (drho/dp == C_sound^-2) at the given salinity, potential temperature, and pressure.
[in] | t | Potential temperature relative to the surface in C. |
[in] | s | Salinity in PSU. |
[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 232 of file MOM_EOS_UNESCO.F90.
References r00, r01, r02, r032, r10, r11, r132, r20, r21, r232, r30, r31, r40, r41, r50, s00, s01, s032, s10, s11, s132, s20, s21, s232, s30, s31, s40, sp00, sp000, sp001, sp01, sp010, sp011, sp020, sp021, sp032, sp10, sp11, sp20, sp21, and sp30.
Referenced by mom_eos::calculate_compress().
subroutine, public mom_eos_unesco::calculate_density_array_unesco | ( | 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 | ||
) |
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.
[in] | t | Potential temperature relative to the surface in C. |
[in] | s | Salinity in PSU. |
[in] | pressure | Pressure in Pa. |
[out] | rho | In situ density in kg m-3. |
[in] | start | The starting point in the arrays. |
[in] | npts | The number of values to calculate. |
Definition at line 103 of file MOM_EOS_UNESCO.F90.
References r00, r01, r02, r032, r10, r11, r132, r20, r21, r232, r30, r31, r40, r41, r50, s00, s01, s032, s10, s11, s132, s20, s21, s232, s30, s31, s40, sp00, sp000, sp001, sp01, sp010, sp011, sp020, sp021, sp032, sp10, sp11, sp20, sp21, and sp30.
Referenced by calculate_density_scalar_unesco().
subroutine, public mom_eos_unesco::calculate_density_derivs_unesco | ( | 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 | ||
) |
This subroutine calculates the partial derivatives of density with potential temperature and salinity.
[in] | t | Potential temperature relative to the surface in C. |
[in] | s | Salinity in PSU. |
[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 155 of file MOM_EOS_UNESCO.F90.
References r00, r01, r02, r032, r10, r11, r132, r20, r21, r232, r30, r31, r40, r41, r50, s00, s01, s032, s10, s11, s132, s20, s21, s232, s30, s31, s40, sp00, sp000, sp001, sp01, sp010, sp011, sp020, sp021, sp032, sp10, sp11, sp20, sp21, and sp30.
subroutine, public mom_eos_unesco::calculate_density_scalar_unesco | ( | 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 Wright, 1997, J. Atmos. Ocean. Tech., 14, 735-740. Coded by R. Hallberg, 7/00.
[in] | t | Potential temperature relative to the surface in C. |
[in] | s | Salinity in PSU. |
[in] | pressure | Pressure in Pa. |
[out] | rho | In situ density in kg m-3. |
Definition at line 67 of file MOM_EOS_UNESCO.F90.
References calculate_density_array_unesco().
|
private |
Definition at line 41 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 41 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 41 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 41 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 41 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 41 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 41 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 41 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 41 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 41 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 41 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 41 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 41 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 41 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 41 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 50 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 50 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 50 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 50 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 50 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 50 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 50 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 50 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 50 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 50 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 50 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 50 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 50 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 50 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 50 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 50 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 50 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 50 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 50 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 50 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 50 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 50 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 50 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 50 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 50 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().
|
private |
Definition at line 50 of file MOM_EOS_UNESCO.F90.
Referenced by calculate_compress_unesco(), calculate_density_array_unesco(), and calculate_density_derivs_unesco().