|
MOM6
|
The equation of state using the Jackett and McDougall fits to the UNESCO EOS.
Data Types | |
| interface | calculate_density_unesco |
| Compute the in situ density of sea water (in [kg m-3]), or its anomaly with respect to a reference density, from salinity [PSU], potential temperature [degC], and pressure [Pa], using the UNESCO (1981) equation of state. More... | |
| interface | calculate_spec_vol_unesco |
| Compute the in situ specific volume of sea water (in [m3 kg-1]), or an anomaly with respect to a reference specific volume, from salinity [PSU], potential temperature [degC], and pressure [Pa], using the UNESCO (1981) equation of state. More... | |
Functions/Subroutines | |
| subroutine, public | calculate_density_scalar_unesco (T, S, pressure, rho, rho_ref) |
| This subroutine computes the in situ density of sea water (rho in [kg m-3]) from salinity (S [PSU]), potential temperature (T [degC]), and pressure [Pa], using the UNESCO (1981) equation of state. More... | |
| subroutine, public | calculate_density_array_unesco (T, S, pressure, rho, start, npts, rho_ref) |
| This subroutine computes the in situ density of sea water (rho in [kg m-3]) from salinity (S [PSU]), potential temperature (T [degC]), and pressure [Pa], using the UNESCO (1981) equation of state. More... | |
| subroutine | calculate_spec_vol_scalar_unesco (T, S, pressure, specvol, spv_ref) |
| This subroutine computes the in situ specific volume of sea water (specvol in [m3 kg-1]) from salinity (S [PSU]), potential temperature (T [degC]) and pressure [Pa], using the UNESCO (1981) equation of state. If spv_ref is present, specvol is an anomaly from spv_ref. More... | |
| subroutine | calculate_spec_vol_array_unesco (T, S, pressure, specvol, start, npts, spv_ref) |
| This subroutine computes the in situ specific volume of sea water (specvol in [m3 kg-1]) from salinity (S [PSU]), potential temperature (T [degC]) and pressure [Pa], using the UNESCO (1981) equation of state. If spv_ref is present, specvol is an anomaly from spv_ref. 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... | |
| 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 [degC]. |
| [in] | s | Salinity [PSU]. |
| [in] | pressure | Pressure [Pa]. |
| [out] | rho | In situ density [kg m-3]. |
| [out] | drho_dp | The partial derivative of density with pressure (also the inverse of the square of sound speed) [s2 m-2]. |
| [in] | start | The starting point in the arrays. |
| [in] | npts | The number of values to calculate. |
Definition at line 284 of file MOM_EOS_UNESCO.F90.
| 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, | ||
| real, intent(in), optional | rho_ref | ||
| ) |
This subroutine computes the in situ density of sea water (rho in [kg m-3]) from salinity (S [PSU]), potential temperature (T [degC]), and pressure [Pa], using the UNESCO (1981) equation of state.
| [in] | t | potential temperature relative to the surface [degC]. |
| [in] | s | salinity [PSU]. |
| [in] | pressure | pressure [Pa]. |
| [out] | rho | in situ density [kg m-3]. |
| [in] | start | the starting point in the arrays. |
| [in] | npts | the number of values to calculate. |
| [in] | rho_ref | A reference density [kg m-3]. |
Definition at line 83 of file MOM_EOS_UNESCO.F90.
| 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 [degC]. |
| [in] | s | Salinity [PSU]. |
| [in] | pressure | Pressure [Pa]. |
| [out] | drho_dt | The partial derivative of density with potential temperature [kg m-3 degC-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 213 of file MOM_EOS_UNESCO.F90.
| 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, | ||
| real, intent(in), optional | rho_ref | ||
| ) |
This subroutine computes the in situ density of sea water (rho in [kg m-3]) from salinity (S [PSU]), potential temperature (T [degC]), and pressure [Pa], using the UNESCO (1981) equation of state.
| [in] | t | Potential temperature relative to the surface [degC]. |
| [in] | s | Salinity [PSU]. |
| [in] | pressure | pressure [Pa]. |
| [out] | rho | In situ density [kg m-3]. |
| [in] | rho_ref | A reference density [kg m-3]. |
Definition at line 60 of file MOM_EOS_UNESCO.F90.
|
private |
This subroutine computes the in situ specific volume of sea water (specvol in [m3 kg-1]) from salinity (S [PSU]), potential temperature (T [degC]) and pressure [Pa], using the UNESCO (1981) equation of state. If spv_ref is present, specvol is an anomaly from spv_ref.
| [in] | t | potential temperature relative to the surface [degC]. |
| [in] | s | salinity [PSU]. |
| [in] | pressure | pressure [Pa]. |
| [out] | specvol | in situ specific volume [m3 kg-1]. |
| [in] | start | the starting point in the arrays. |
| [in] | npts | the number of values to calculate. |
| [in] | spv_ref | A reference specific volume [m3 kg-1]. |
Definition at line 159 of file MOM_EOS_UNESCO.F90.
|
private |
This subroutine computes the in situ specific volume of sea water (specvol in [m3 kg-1]) from salinity (S [PSU]), potential temperature (T [degC]) and pressure [Pa], using the UNESCO (1981) equation of state. If spv_ref is present, specvol is an anomaly from spv_ref.
| [in] | t | potential temperature relative to the surface [degC]. |
| [in] | s | salinity [PSU]. |
| [in] | pressure | pressure [Pa]. |
| [out] | specvol | in situ specific volume [m3 kg-1]. |
| [in] | spv_ref | A reference specific volume [m3 kg-1]. |
Definition at line 138 of file MOM_EOS_UNESCO.F90.