Compute the difference in between w-wind levels dzw from the reciprocal difference in between
w-wind levels rdzw, where is the vertical coordinate, and w-wind levels are synonymous with layer interfaces
in MPAS.
(KCW, 2025-10-20)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real32), | intent(in) | :: | rdzw |
pure elemental function dzw_of_rdzw_real32(rdzw) result(dzw) use, intrinsic :: iso_fortran_env, only: real32 real(real32), intent(in) :: rdzw real(real32) :: dzw dzw = 1.0_real32 / rdzw end function dzw_of_rdzw_real32