Toroidal member of the "standard" (total-angular-momentum-coupled) vector spherical harmonic basis, . Identical to PVSH_TOR -- the toroidal member is common to both the polar and standard bases, since already carries total angular momentum with no admixture.
Warning
Identical to PVSH_TOR -- inherits the unnormalized
ASSOC_LEGENDRE_AND_DERIV's stability limit (safe for
at any ), not VSH_TOR_ALL's
. See STABILITY_FINDINGS.md at the repo root,
Part 2.
Returns: , complex 3-vector (identical to PVSH_TOR).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=i4), | intent(in) | :: | L |
Degree, . |
||
| integer(kind=i4), | intent(in) | :: | K |
Order, . |
||
| real(kind=dp), | intent(in) | :: | THETA |
Colatitude in radians, . |
||
| real(kind=dp), | intent(in) | :: | PHI |
Longitude in radians, . |
FUNCTION VSH_TOR_DP(L,K,THETA,PHI) RESULT(VSH_TOR) IMPLICIT NONE INTEGER(KIND=i4), INTENT(IN) :: L INTEGER(KIND=i4), INTENT(IN) :: K REAL(KIND=dp), INTENT(IN) :: THETA REAL(KIND=dp), INTENT(IN) :: PHI COMPLEX(KIND=dp) :: YLM COMPLEX(KIND=dp), DIMENSION(3) :: VSH_TOR VSH_TOR = PVSH_TOR(L,K,THETA,PHI) RETURN END FUNCTION VSH_TOR_DP