Convert u and v in the grid space to Vorticity and Divergence in the spectral space.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ModSpectral_t), | intent(in) | :: | this | |||
| real(kind=p), | intent(in) | :: | ug(ix,il) | |||
| real(kind=p), | intent(in) | :: | vg(ix,il) | |||
| complex(kind=p), | intent(out) | :: | vorm(mx,nx) | |||
| complex(kind=p), | intent(out) | :: | divm(mx,nx) | |||
| integer, | intent(in) | :: | kcos |