public subroutine fill_pseudo_salt_diff(state_handle, buf)
Pseudo-salt deviation D = pseudo_salt - S (psu): a direct,
measured proxy for how far the passive-tracer transport path
has drifted from the active-tracer (salinity) path. Gated on
BOTH indices being registered.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Variables
Type
Visibility
Attributes
Name
Initial
integer,
private
::
it_ps
integer,
private
::
it_s
Source Code
subroutine fill_pseudo_salt_diff(state_handle,buf)!! Pseudo-salt deviation D = pseudo_salt - S (psu): a direct,!! measured proxy for how far the passive-tracer transport path!! has drifted from the active-tracer (salinity) path. Gated on!! BOTH indices being registered.class(*),intent(in)::state_handlereal(wp),intent(inout)::buf(:,:,:)integer::it_ps,it_sselect type(state=>state_handle)class is(ocean_state_t)it_ps=state%multilayer%idx_pseudo_saltit_s=state%multilayer%idx_salinityif(it_ps<=0.or.it_s<=0)then call fill_zero_impl(buf)return end if call ocean_pseudo_salt_deviation(state%multilayer%h_layer,&state%multilayer%tracers(it_ps)%hTr,&state%multilayer%tracers(it_s)%hTr,buf,&size(buf,1),size(buf,2),size(buf,3),&ieee_value(0.0_wp,ieee_quiet_nan))end select end subroutine fill_pseudo_salt_diff