Clebsch-Gordan coefficient for coupling two angular momenta to a total , via the closed-form Racah sum (evaluated in log-factorial form for numerical stability at large arguments -- see LOG_FACT): where . Adapted from David Simpson (NASA GSFC). Automatically returns 0 for any invalid combination -- violated triangle inequality , , or -- so it is always safe to call with an arbitrary sextuple of integers, e.g. when sweeping a parameter range.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=i4), | intent(in) | :: | J1 |
First angular momentum, . |
||
| integer(kind=i4), | intent(in) | :: | M1 |
First projection, . |
||
| integer(kind=i4), | intent(in) | :: | J2 |
Second angular momentum, . |
||
| integer(kind=i4), | intent(in) | :: | M2 |
Second projection, . |
||
| integer(kind=i4), | intent(in) | :: | J3 |
Coupled angular momentum, . |
||
| integer(kind=i4), | intent(in) | :: | M3 |
Coupled projection, . |