25integer,
intent(in) :: l1,l2,l3
26integer,
intent(in) :: m1,m2,m3
29real(8),
parameter :: c1=0.7071067811865475244d0
32real(8),
external :: gaunt
34 if (mod(m2,2) == 0)
then
35 t1=c1*(
gaunt(l1,l2,l3,m1,m2,m3)+
gaunt(l1,l2,l3,m1,-m2,m3))
37 t1=c1*(
gaunt(l1,l2,l3,m1,m2,m3)-
gaunt(l1,l2,l3,m1,-m2,m3))
41 if (mod(m2,2) == 0)
then
42 t1=c1*(
gaunt(l1,l2,l3,m1,m2,m3)-
gaunt(l1,l2,l3,m1,-m2,m3))
44 t1=c1*(
gaunt(l1,l2,l3,m1,m2,m3)+
gaunt(l1,l2,l3,m1,-m2,m3))
46 gauntyry=cmplx(0.d0,-t1,8)
48 gauntyry=
gaunt(l1,l2,l3,m1,m2,m3)
real(8) function gaunt(l1, l2, l3, m1, m2, m3)