Surface-layer thickness of the hycom z* nominal floor (m), for
the configure banner: the stretched profile’s top entry, else the
uniform z_fixed_h_ref/nz, else 0 (the unconfigured sigma
fallback of ocean_vcoord_rho_target_column).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(ocean_vcoord_t), | intent(in) | :: | vcoord |
pure function hycom_top_dz(vcoord) result(dz) !! Surface-layer thickness of the `hycom` z* nominal floor (m), for !! the configure banner: the stretched profile's top entry, else the !! uniform `z_fixed_h_ref/nz`, else 0 (the unconfigured sigma !! fallback of `ocean_vcoord_rho_target_column`). type(ocean_vcoord_t), intent(in) :: vcoord real(wp) :: dz dz = 0.0_wp if (vcoord%z_fixed_use_profile) then dz = vcoord%z_fixed_dz(vcoord%nz_ml) else if (vcoord%z_fixed_h_ref > 0.0_wp .and. vcoord%nz_ml > 0) then dz = vcoord%z_fixed_h_ref/real(vcoord%nz_ml, wp) end if end function hycom_top_dz