Compute the differences in between w-wind levels dzw from the reciprocal differences 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=real64), | intent(in) | :: | rdzw |
pure elemental function dzw_of_rdzw_real64(rdzw) result(dzw) use, intrinsic :: iso_fortran_env, only: real64 real(real64), intent(in) :: rdzw real(real64) :: dzw dzw = 1.0_real64 / rdzw end function dzw_of_rdzw_real64