This subroutine calculates real spherical harmonics with the normalization :
Note
Converted to real spherical harmonics B. Drittler 1987
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp), | intent(in) | :: | v1 | |||
real(kind=dp), | intent(in) | :: | v2 | |||
real(kind=dp), | intent(in) | :: | v3 | |||
real(kind=dp), | intent(out) | :: | r | |||
real(kind=dp), | intent(out), | dimension((2*lmax+1)**2) | :: | ylm |
real spherical harmonic to a given l,m |
|
integer, | intent(in) | :: | lmax |
Maximum l component in wave function expansion |