namespace mom_eos_nemo¶
Overview¶
The equation of state using the expressions of Roquet et al. that are used in NEMO. More…
namespace mom_eos_nemo { // interfaces interface calculate_density_derivs_nemo; interface calculate_density_nemo; // global functions subroutine, public calculate_density_scalar_nemo(T T, S S, pressure pressure, rho rho, rho_ref rho_ref); subroutine, public calculate_density_array_nemo( T T, S S, pressure pressure, rho rho, start start, npts npts, rho_ref rho_ref ); subroutine, public calculate_compress_nemo( T T, S S, pressure pressure, rho rho, drho_dp drho_dp, start start, npts npts ); } // namespace mom_eos_nemo
Detailed Documentation¶
The equation of state using the expressions of Roquet et al. that are used in NEMO.
Global Functions¶
subroutine, public calculate_density_scalar_nemo( T T, S S, pressure pressure, rho rho, rho_ref 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.
Parameters:
t |
Conservative temperature [degC]. |
s |
Absolute salinity [g kg-1]. |
pressure |
pressure [Pa]. |
rho |
In situ density [kg m-3]. |
rho_ref |
A reference density [kg m-3]. |
subroutine, public calculate_density_array_nemo( T T, S S, pressure pressure, rho rho, start start, npts npts, rho_ref 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.
Parameters:
t |
Conservative temperature [degC]. |
s |
Absolute salinity [g kg-1]. |
pressure |
pressure [Pa]. |
rho |
in situ density [kg m-3]. |
start |
the starting point in the arrays. |
npts |
the number of values to calculate. |
rho_ref |
A reference density [kg m-3]. |
subroutine, public calculate_compress_nemo( T T, S S, pressure pressure, rho rho, drho_dp drho_dp, start start, npts 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.
Parameters:
t |
Conservative temperature [degC]. |
s |
Absolute salinity [g/kg]. |
pressure |
pressure [Pa]. |
rho |
In situ density [kg m-3]. |
drho_dp |
The partial derivative of density with pressure (also the inverse of the square of sound speed) [s2 m-2]. |
start |
The starting point in the arrays. |
npts |
The number of values to calculate. |