|
MOM6
|
The equation of state using the expressions of Roquet et al. that are used in NEMO.
Data Types | |
| interface | calculate_density_derivs_nemo |
| For a given thermodynamic state, return the derivatives of density with conservative temperature and absolute salinity, the expressions derived for use with NEMO. More... | |
| interface | calculate_density_nemo |
| Compute the in situ density of sea water ([kg m-3]), or its anomaly with respect to a reference density, from absolute salinity (g/kg), conservative temperature (in deg C), and pressure [Pa], using the expressions derived for use with NEMO. More... | |
Functions/Subroutines | |
| subroutine, public | calculate_density_scalar_nemo (T, S, pressure, rho, rho_ref) |
| This subroutine computes the in situ density of sea water (rho in [kg m-3]) from absolute salinity (S [g kg-1]), conservative temperature (T [degC]), and pressure [Pa]. It uses the expressions derived for use with NEMO. More... | |
| subroutine, public | calculate_density_array_nemo (T, S, pressure, rho, start, npts, rho_ref) |
| This subroutine computes the in situ density of sea water (rho in [kg m-3]) from absolute salinity (S [g kg-1]), conservative temperature (T [degC]), and pressure [Pa]. It uses the expressions derived for use with NEMO. More... | |
| subroutine | calculate_density_derivs_array_nemo (T, S, pressure, drho_dT, drho_dS, start, npts) |
| For a given thermodynamic state, calculate the derivatives of density with conservative temperature and absolute salinity, using the expressions derived for use with NEMO. More... | |
| subroutine | calculate_density_derivs_scalar_nemo (T, S, pressure, drho_dt, drho_ds) |
| Wrapper to calculate_density_derivs_array for scalar inputs. More... | |
| subroutine, public | calculate_compress_nemo (T, S, pressure, rho, drho_dp, start, npts) |
| Compute the in situ density of sea water (rho in [kg m-3]) and the compressibility (drho/dp = C_sound^-2, stored as drho_dp [s2 m-2]) from absolute salinity (sal in g/kg), conservative temperature (T [degC]), and pressure [Pa], using the expressions derived for use with NEMO. More... | |
Variables | |
| real, parameter | pa2db = 1.e-4 |
| Conversion factor between Pa and dbar. | |
| subroutine, public mom_eos_nemo::calculate_compress_nemo | ( | 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 | ||
| ) |
Compute the in situ density of sea water (rho in [kg m-3]) and the compressibility (drho/dp = C_sound^-2, stored as drho_dp [s2 m-2]) from absolute salinity (sal in g/kg), conservative temperature (T [degC]), and pressure [Pa], using the expressions derived for use with NEMO.
| [in] | t | Conservative temperature [degC]. |
| [in] | s | Absolute salinity [g/kg]. |
| [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 368 of file MOM_EOS_NEMO.F90.
| subroutine, public mom_eos_nemo::calculate_density_array_nemo | ( | 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 absolute salinity (S [g kg-1]), conservative temperature (T [degC]), and pressure [Pa]. It uses the expressions derived for use with NEMO.
| [in] | t | Conservative temperature [degC]. |
| [in] | s | Absolute salinity [g kg-1]. |
| [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 205 of file MOM_EOS_NEMO.F90.
|
private |
For a given thermodynamic state, calculate the derivatives of density with conservative temperature and absolute salinity, using the expressions derived for use with NEMO.
| [in] | t | Conservative temperature [degC]. |
| [in] | s | Absolute salinity [g kg-1]. |
| [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 ppt-1]. |
| [in] | start | The starting point in the arrays. |
| [in] | npts | The number of values to calculate. |
Definition at line 267 of file MOM_EOS_NEMO.F90.
|
private |
Wrapper to calculate_density_derivs_array for scalar inputs.
| [in] | t | Potential temperature relative to the surface [degC]. |
| [in] | s | Salinity [g kg-1]. |
| [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 ppt-1]. |
Definition at line 341 of file MOM_EOS_NEMO.F90.
| subroutine, public mom_eos_nemo::calculate_density_scalar_nemo | ( | 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 absolute salinity (S [g kg-1]), conservative temperature (T [degC]), and pressure [Pa]. It uses the expressions derived for use with NEMO.
| [in] | t | Conservative temperature [degC]. |
| [in] | s | Absolute salinity [g kg-1]. |
| [in] | pressure | pressure [Pa]. |
| [out] | rho | In situ density [kg m-3]. |
| [in] | rho_ref | A reference density [kg m-3]. |
Definition at line 180 of file MOM_EOS_NEMO.F90.