Definition at line 41 of file MOM_TFreeze.F90.
|
subroutine | calculate_tfreeze_teos10_scalar (S, pres, T_Fr) |
| This subroutine computes the freezing point conservative temparature (in deg C) from absolute salinity (in g/kg), and pressure (in Pa) using the TEOS10 package. More...
|
|
subroutine | calculate_tfreeze_teos10_array (S, pres, T_Fr, start, npts) |
| This subroutine computes the freezing point conservative temparature (in deg C) from absolute salinity (in g/kg), and pressure (in Pa) using the TEOS10 package. More...
|
|
◆ calculate_tfreeze_teos10_array()
subroutine mom_tfreeze::calculate_tfreeze_teos10::calculate_tfreeze_teos10_array |
( |
real, dimension(:), intent(in) |
S, |
|
|
real, dimension(:), intent(in) |
pres, |
|
|
real, dimension(:), intent(out) |
T_Fr, |
|
|
integer, intent(in) |
start, |
|
|
integer, intent(in) |
npts |
|
) |
| |
|
private |
This subroutine computes the freezing point conservative temparature (in deg C) from absolute salinity (in g/kg), and pressure (in Pa) using the TEOS10 package.
- Parameters
-
[in] | s | absolute salinity in g/kg. |
[in] | pres | pressure in Pa. |
[out] | t_fr | Freezing point conservative temperature in deg C. |
[in] | start | the starting point in the arrays. |
[in] | npts | the number of values to calculate. |
Definition at line 199 of file MOM_TFreeze.F90.
199 real,
dimension(:),
intent(in) :: s
200 real,
dimension(:),
intent(in) :: pres
201 real,
dimension(:),
intent(out) :: t_fr
202 integer,
intent(in) :: start
203 integer,
intent(in) :: npts
214 real,
parameter :: pa2db = 1.e-4
219 real,
parameter :: saturation_fraction = 0.0
221 do j=start,start+npts-1
226 if(s(j).lt.-1.0e-10) cycle
227 t_fr(j) = gsw_ct_freezing_exact(zs,zp,saturation_fraction)
◆ calculate_tfreeze_teos10_scalar()
subroutine mom_tfreeze::calculate_tfreeze_teos10::calculate_tfreeze_teos10_scalar |
( |
real, intent(in) |
S, |
|
|
real, intent(in) |
pres, |
|
|
real, intent(out) |
T_Fr |
|
) |
| |
|
private |
This subroutine computes the freezing point conservative temparature (in deg C) from absolute salinity (in g/kg), and pressure (in Pa) using the TEOS10 package.
- Parameters
-
[in] | s | Absolute salinity in g/kg. |
[in] | pres | Pressure in Pa. |
[out] | t_fr | Freezing point conservative temperature in deg C. |
Definition at line 174 of file MOM_TFreeze.F90.
174 real,
intent(in) :: s
175 real,
intent(in) :: pres
176 real,
intent(out) :: t_fr
184 real,
dimension(1) :: s0, pres0
185 real,
dimension(1) :: tfr0
190 call calculate_tfreeze_teos10_array(s0, pres0, tfr0, 1, 1)
The documentation for this interface was generated from the following file:
- /home/adcroft/GitHub/workspace/Gaea-stats-MOM6-examples/MOM6-examples/src/MOM6/src/equation_of_state/MOM_TFreeze.F90