*** UVTVD - Compute vor/div from u and v in spectral space
Interface. ---------- CALL UVTVD(KM,KFIELD,PEPSNM,PU,PV,PVOR,PDIV)
1.1 SET N=KM-1 COMPONENT TO 0 FOR U AND V
1.2 COMPUTE VORTICITY AND DIVERGENCE.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=JPIM), | intent(in) | :: | KM | |||
integer(kind=JPIM), | intent(in) | :: | KFIELD | |||
real(kind=JPRB), | intent(in) | :: | PEPSNM(0:R%NTMAX+2) | |||
real(kind=JPRB), | intent(inout) | :: | PU(:,:) | |||
real(kind=JPRB), | intent(inout) | :: | PV(:,:) | |||
real(kind=JPRB), | intent(out) | :: | PVOR(:,:) | |||
real(kind=JPRB), | intent(out) | :: | PDIV(:,:) |