MOM_TFreeze module reference

Freezing point expressions

Generic Interfaces

calculate_TFreeze_linear

Compute the freezing point potential temperature [degC] from salinity [ppt] and pressure [Pa] using a simple linear expression, with coefficients passed in as arguments.

calculate_TFreeze_Millero

Compute the freezing point potential temperature [degC] from salinity [PSU] and pressure [Pa] using the expression from Millero (1978) (and in appendix A of Gill 1982), but with the of the pressure dependence changed from 7.53e-8 to 7.75e-8 to make this an expression for potential temperature (not in situ temperature), using a value that is correct at the freezing point at 35 PSU and 5e6 Pa (500 dbar).

calculate_TFreeze_teos10

Compute the freezing point conservative temperature [degC] from absolute salinity [g kg-1] and pressure [Pa] using the TEOS10 package.

calculate_TFreeze_TEOS_poly

Compute the freezing point conservative temperature [degC] from absolute salinity [g kg-1] and pressure [Pa] using a rescaled and refactored version of the expressions from the TEOS10 package.

Functions/Subroutines

calculate_TFreeze_linear_scalar

This subroutine computes the freezing point potential temperature [degC] from salinity [ppt], and pressure [Pa] using a simple linear expression, with coefficients passed in as arguments.

calculate_TFreeze_linear_array

This subroutine computes an array of freezing point potential temperatures [degC] from salinity [ppt], and pressure [Pa] using a simple linear expression, with coefficients passed in as arguments.

calculate_TFreeze_Millero_scalar

This subroutine computes the freezing point potential temperature [degC] from salinity [ppt], and pressure [Pa] using the expression from Millero (1978) (and in appendix A of Gill 1982), but with the of the pressure dependence changed from 7.53e-8 to 7.75e-8 to make this an expression for potential temperature (not in situ temperature), using a value that is correct at the freezing point at 35 PSU and 5e6 Pa (500 dbar).

calculate_TFreeze_Millero_array

This subroutine computes the freezing point potential temperature [degC] from salinity [ppt], and pressure [Pa] using the expression from Millero (1978) (and in appendix A of Gill 1982), but with the pressure dependence changed from 7.53e-8 to 7.75e-8 to make this an expression for potential temperature (not in situ temperature), using a value that is correct at the freezing point at 35 PSU and 5e6 Pa (500 dbar).

calculate_TFreeze_TEOS_poly_scalar

This subroutine computes the freezing point conservative temperature [degC] from absolute salinity [g kg-1], and pressure [Pa] using a rescaled and refactored version of the polynomial expressions from the TEOS10 package.

calculate_TFreeze_TEOS_poly_array

This subroutine computes the freezing point conservative temperature [degC] from absolute salinity [g kg-1], and pressure [Pa] using a rescaled and refactored version of the polynomial expressions from the TEOS10 package.

calculate_TFreeze_teos10_scalar

This subroutine computes the freezing point conservative temperature [degC] from absolute salinity [g kg-1], and pressure [Pa] using the TEOS10 package.

calculate_TFreeze_teos10_array

This subroutine computes the freezing point conservative temperature [degC] from absolute salinity [g kg-1], and pressure [Pa] using the TEOS10 package.

Generic Interface Documentation

interface calculate_TFreeze_linear

Compute the freezing point potential temperature [degC] from salinity [ppt] and pressure [Pa] using a simple linear expression, with coefficients passed in as arguments.

Callers call graph
Callers of mom_tfreeze::interface::calculate_tfreeze_linear calls cluster_mom_eos MOM_EOS cluster_mom_tfreeze MOM_TFreeze mom_eos::calculate_tfreeze_1d calculate_TFreeze_1d [private/internal] mom_tfreeze::interface::calculate_tfreeze_linear calculate_TFreeze_linear (interface) mom_eos::calculate_tfreeze_1d->mom_tfreeze::interface::calculate_tfreeze_linear mom_eos::calculate_tfreeze_array calculate_TFreeze_array [private/internal] mom_eos::calculate_tfreeze_array->mom_tfreeze::interface::calculate_tfreeze_linear mom_eos::calculate_tfreeze_scalar calculate_TFreeze_scalar [private/internal] mom_eos::calculate_tfreeze_scalar->mom_tfreeze::interface::calculate_tfreeze_linear
Text view
interface calculate_TFreeze_Millero

Compute the freezing point potential temperature [degC] from salinity [PSU] and pressure [Pa] using the expression from Millero (1978) (and in appendix A of Gill 1982), but with the of the pressure dependence changed from 7.53e-8 to 7.75e-8 to make this an expression for potential temperature (not in situ temperature), using a value that is correct at the freezing point at 35 PSU and 5e6 Pa (500 dbar).

Callers call graph
Callers of mom_tfreeze::interface::calculate_tfreeze_millero calls cluster_mom_eos MOM_EOS cluster_mom_tfreeze MOM_TFreeze mom_eos::calculate_tfreeze_1d calculate_TFreeze_1d [private/internal] mom_tfreeze::interface::calculate_tfreeze_millero calculate_TFreeze_Millero (interface) mom_eos::calculate_tfreeze_1d->mom_tfreeze::interface::calculate_tfreeze_millero mom_eos::calculate_tfreeze_array calculate_TFreeze_array [private/internal] mom_eos::calculate_tfreeze_array->mom_tfreeze::interface::calculate_tfreeze_millero mom_eos::calculate_tfreeze_scalar calculate_TFreeze_scalar [private/internal] mom_eos::calculate_tfreeze_scalar->mom_tfreeze::interface::calculate_tfreeze_millero
Text view
interface calculate_TFreeze_teos10

Compute the freezing point conservative temperature [degC] from absolute salinity [g kg-1] and pressure [Pa] using the TEOS10 package.

Callers call graph
Callers of mom_tfreeze::interface::calculate_tfreeze_teos10 calls cluster_mom_eos MOM_EOS cluster_mom_tfreeze MOM_TFreeze mom_eos::calculate_tfreeze_1d calculate_TFreeze_1d [private/internal] mom_tfreeze::interface::calculate_tfreeze_teos10 calculate_TFreeze_teos10 (interface) mom_eos::calculate_tfreeze_1d->mom_tfreeze::interface::calculate_tfreeze_teos10 mom_eos::calculate_tfreeze_array calculate_TFreeze_array [private/internal] mom_eos::calculate_tfreeze_array->mom_tfreeze::interface::calculate_tfreeze_teos10 mom_eos::calculate_tfreeze_scalar calculate_TFreeze_scalar [private/internal] mom_eos::calculate_tfreeze_scalar->mom_tfreeze::interface::calculate_tfreeze_teos10
Text view
interface calculate_TFreeze_TEOS_poly

Compute the freezing point conservative temperature [degC] from absolute salinity [g kg-1] and pressure [Pa] using a rescaled and refactored version of the expressions from the TEOS10 package.

Callers call graph
Callers of mom_tfreeze::interface::calculate_tfreeze_teos_poly calls cluster_mom_eos MOM_EOS cluster_mom_tfreeze MOM_TFreeze mom_eos::calculate_tfreeze_1d calculate_TFreeze_1d [private/internal] mom_tfreeze::interface::calculate_tfreeze_teos_poly calculate_TFreeze_TEOS_poly (interface) mom_eos::calculate_tfreeze_1d->mom_tfreeze::interface::calculate_tfreeze_teos_poly mom_eos::calculate_tfreeze_array calculate_TFreeze_array [private/internal] mom_eos::calculate_tfreeze_array->mom_tfreeze::interface::calculate_tfreeze_teos_poly mom_eos::calculate_tfreeze_scalar calculate_TFreeze_scalar [private/internal] mom_eos::calculate_tfreeze_scalar->mom_tfreeze::interface::calculate_tfreeze_teos_poly
Text view

Functions/Subroutine Documentation

subroutine calculate_TFreeze_linear_scalar(S, pres, T_Fr, TFr_S0_P0, dTFr_dS, dTFr_dp)

This subroutine computes the freezing point potential temperature [degC] from salinity [ppt], and pressure [Pa] using a simple linear expression, with coefficients passed in as arguments.

Parameters
  • S [in]

    salinity [ppt].

  • pres [in]

    pressure [Pa].

  • T_Fr [out]

    Freezing point potential temperature [degC].

  • TFr_S0_P0 [in]

    The freezing point at S=0, p=0 [degC].

  • dTFr_dS [in]

    The derivative of freezing point with salinity, [degC ppt-1].

  • dTFr_dp [in]

    The derivative of freezing point with pressure, [degC Pa-1].

subroutine calculate_TFreeze_linear_array(S, pres, T_Fr, start, npts, TFr_S0_P0, dTFr_dS, dTFr_dp)

This subroutine computes an array of freezing point potential temperatures [degC] from salinity [ppt], and pressure [Pa] using a simple linear expression, with coefficients passed in as arguments.

Parameters
  • S [in]

    salinity [ppt].

  • pres [in]

    pressure [Pa].

  • T_Fr [out]

    Freezing point potential temperature [degC].

  • start [in]

    the starting point in the arrays.

  • npts [in]

    the number of values to calculate.

  • TFr_S0_P0 [in]

    The freezing point at S=0, p=0, [degC].

  • dTFr_dS [in]

    The derivative of freezing point with salinity, [degC ppt-1].

  • dTFr_dp [in]

    The derivative of freezing point with pressure, [degC Pa-1].

subroutine calculate_TFreeze_Millero_scalar(S, pres, T_Fr)

This subroutine computes the freezing point potential temperature [degC] from salinity [ppt], and pressure [Pa] using the expression from Millero (1978) (and in appendix A of Gill 1982), but with the of the pressure dependence changed from 7.53e-8 to 7.75e-8 to make this an expression for potential temperature (not in situ temperature), using a value that is correct at the freezing point at 35 PSU and 5e6 Pa (500 dbar).

Parameters
  • S [in]

    Salinity [PSU]

  • pres [in]

    Pressure [Pa]

  • T_Fr [out]

    Freezing point potential temperature [degC]

subroutine calculate_TFreeze_Millero_array(S, pres, T_Fr, start, npts)

This subroutine computes the freezing point potential temperature [degC] from salinity [ppt], and pressure [Pa] using the expression from Millero (1978) (and in appendix A of Gill 1982), but with the pressure dependence changed from 7.53e-8 to 7.75e-8 to make this an expression for potential temperature (not in situ temperature), using a value that is correct at the freezing point at 35 PSU and 5e6 Pa (500 dbar).

Parameters
  • S [in]

    Salinity [PSU].

  • pres [in]

    Pressure [Pa].

  • T_Fr [out]

    Freezing point potential temperature [degC].

  • start [in]

    The starting point in the arrays.

  • npts [in]

    The number of values to calculate.

subroutine calculate_TFreeze_TEOS_poly_scalar(S, pres, T_Fr)

This subroutine computes the freezing point conservative temperature [degC] from absolute salinity [g kg-1], and pressure [Pa] using a rescaled and refactored version of the polynomial expressions from the TEOS10 package.

Parameters
  • S [in]

    Absolute salinity [g kg-1].

  • pres [in]

    Pressure [Pa].

  • T_Fr [out]

    Freezing point conservative temperature [degC].

Callees call graph
Callees of mom_tfreeze::calculate_tfreeze_teos_poly_scalar calls cluster_mom_tfreeze MOM_TFreeze mom_tfreeze::calculate_tfreeze_teos_poly_array calculate_TFreeze_TEOS_poly_array [private/internal] mom_tfreeze::calculate_tfreeze_teos_poly_scalar calculate_TFreeze_TEOS_poly_scalar [private/internal] mom_tfreeze::calculate_tfreeze_teos_poly_scalar->mom_tfreeze::calculate_tfreeze_teos_poly_array
Text view
subroutine calculate_TFreeze_TEOS_poly_array(S, pres, T_Fr, start, npts)

This subroutine computes the freezing point conservative temperature [degC] from absolute salinity [g kg-1], and pressure [Pa] using a rescaled and refactored version of the polynomial expressions from the TEOS10 package.

Parameters
  • S [in]

    absolute salinity [g kg-1].

  • pres [in]

    Pressure [Pa].

  • T_Fr [out]

    Freezing point conservative temperature [degC].

  • start [in]

    The starting point in the arrays

  • npts [in]

    The number of values to calculate

Callers call graph
Callers of mom_tfreeze::calculate_tfreeze_teos_poly_array calls cluster_mom_tfreeze MOM_TFreeze mom_tfreeze::calculate_tfreeze_teos_poly_array calculate_TFreeze_TEOS_poly_array [private/internal] mom_tfreeze::calculate_tfreeze_teos_poly_scalar calculate_TFreeze_TEOS_poly_scalar [private/internal] mom_tfreeze::calculate_tfreeze_teos_poly_scalar->mom_tfreeze::calculate_tfreeze_teos_poly_array
Text view
subroutine calculate_TFreeze_teos10_scalar(S, pres, T_Fr)

This subroutine computes the freezing point conservative temperature [degC] from absolute salinity [g kg-1], and pressure [Pa] using the TEOS10 package.

Parameters
  • S [in]

    Absolute salinity [g kg-1].

  • pres [in]

    Pressure [Pa].

  • T_Fr [out]

    Freezing point conservative temperature [degC].

Callees call graph
Callees of mom_tfreeze::calculate_tfreeze_teos10_scalar calls cluster_mom_tfreeze MOM_TFreeze mom_tfreeze::calculate_tfreeze_teos10_array calculate_TFreeze_teos10_array [private/internal] mom_tfreeze::calculate_tfreeze_teos10_scalar calculate_TFreeze_teos10_scalar [private/internal] mom_tfreeze::calculate_tfreeze_teos10_scalar->mom_tfreeze::calculate_tfreeze_teos10_array
Text view
subroutine calculate_TFreeze_teos10_array(S, pres, T_Fr, start, npts)

This subroutine computes the freezing point conservative temperature [degC] from absolute salinity [g kg-1], and pressure [Pa] using the TEOS10 package.

Parameters
  • S [in]

    absolute salinity [g kg-1].

  • pres [in]

    pressure [Pa].

  • T_Fr [out]

    Freezing point conservative temperature [degC].

  • start [in]

    the starting point in the arrays.

  • npts [in]

    the number of values to calculate.

Callers call graph
Callers of mom_tfreeze::calculate_tfreeze_teos10_array calls cluster_mom_tfreeze MOM_TFreeze mom_tfreeze::calculate_tfreeze_teos10_array calculate_TFreeze_teos10_array [private/internal] mom_tfreeze::calculate_tfreeze_teos10_scalar calculate_TFreeze_teos10_scalar [private/internal] mom_tfreeze::calculate_tfreeze_teos10_scalar->mom_tfreeze::calculate_tfreeze_teos10_array
Text view

External calls

gsw_mod_toolbox
  • gsw_ct_freezing_exact (gsw_mod_toolbox::gsw_ct_freezing_exact)

API generated with Flint · Rendered from reStructuredText