MOM6
|
Compute the density of sea water (in kg/m^3), or its anomaly from a reference density, using a simple linear equation of state from salinity (in psu), potential temperature (in deg C) and pressure [Pa].
Definition at line 27 of file MOM_EOS_linear.F90.
Private functions | |
subroutine | calculate_density_scalar_linear (T, S, pressure, rho, Rho_T0_S0, dRho_dT, dRho_dS, rho_ref) |
This subroutine computes the density of sea water with a trivial linear equation of state (in [kg m-3]) from salinity (sal [PSU]), potential temperature (T [degC]), and pressure [Pa]. More... | |
subroutine | calculate_density_array_linear (T, S, pressure, rho, start, npts, Rho_T0_S0, dRho_dT, dRho_dS, rho_ref) |
This subroutine computes the density of sea water with a trivial linear equation of state (in kg/m^3) from salinity (sal in psu), potential temperature (T [degC]), and pressure [Pa]. More... | |
|
private |
This subroutine computes the density of sea water with a trivial linear equation of state (in kg/m^3) from salinity (sal in psu), potential temperature (T [degC]), and pressure [Pa].
[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_t0_s0 | The density at T=0, S=0 [kg m-3]. |
[in] | drho_dt | The derivatives of density with temperature [kg m-3 degC-1]. |
[in] | drho_ds | The derivatives of density with salinity in [kg m-3 ppt-1]. |
[in] | rho_ref | A reference density [kg m-3]. |
Definition at line 82 of file MOM_EOS_linear.F90.
|
private |
This subroutine computes the density of sea water with a trivial linear equation of state (in [kg m-3]) from salinity (sal [PSU]), potential temperature (T [degC]), and pressure [Pa].
[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_t0_s0 | The density at T=0, S=0 [kg m-3]. |
[in] | drho_dt | The derivatives of density with temperature [kg m-3 degC-1]. |
[in] | drho_ds | The derivatives of density with salinity in [kg m-3 ppt-1]. |
[in] | rho_ref | A reference density [kg m-3]. |
Definition at line 58 of file MOM_EOS_linear.F90.