This subroutine calculates real spherical harmonics with the normalization :
Note
Converted to real spherical harmonics B. Drittler 1987
T h i s
s u b r o u t i n e
c a l c u l a t e s
r e a l
s p h e r i c a l
h a r m o n i c s
w i t h
t h e
n o r m a l i z a t i o n
:
< y | y
= 1
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 |