1D index for into the output arrays of every batch
_ALL routine that needs the full range
(SSH_ALL, GRAD_SSH_ALL, L_SSH_ALL, and every batch VSH
routine).
Returns: Index , .
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=i4), | intent(in) | :: | L |
Degree, . |
||
| integer(kind=i4), | intent(in) | :: | M |
Order, . |
FUNCTION YLM_INDEX(L, M) IMPLICIT NONE INTEGER(KIND=i4), INTENT(IN) :: L INTEGER(KIND=i4), INTENT(IN) :: M INTEGER(KIND=i4) :: YLM_INDEX YLM_INDEX = L**2 + L + M + 1 END FUNCTION YLM_INDEX