6 pure subroutine wavefcr(tsh,lrstp,is,ia,ist,m,ld,wfcr)
10 logical,
intent(in) :: tsh
11 integer,
intent(in) :: lrstp,is,ia,ist
13 integer,
intent(in) :: m
14 integer,
intent(in) :: ld
15 complex(4),
intent(out) :: wfcr(ld,2)
20 real(8) c1,c2,t0,t1,t2
29 t1=sqrt(dble(l+m+1)/dble(2*l+1))
30 t2=sqrt(dble(l-m)/dble(2*l+1))
43 if (abs(m+1) <= l)
then 52 wfcr(1:
npmt(is),1:2)=0.e0
54 wfcr(1:
npcmt(is),1:2)=0.e0
59 if (l >
lmaxi)
goto 10
70 if (lm1 > 0) wfcr(i1,1)=t0*c1
71 if (lm2 > 0) wfcr(i2,2)=t0*c2
95 do ir=nri+lrstp,nr,lrstp
98 if (lm1 > 0) wfcr(i1,1)=t0*c1
99 if (lm2 > 0) wfcr(i2,2)=t0*c2
integer, dimension(maxstsp, maxspecies) ksp
integer, dimension(maxspecies) npcmt
integer, dimension(maxstsp, maxspecies) lsp
integer, dimension(maxatoms, maxspecies) idxas
real(8), dimension(:,:,:), allocatable rlmt
integer, dimension(maxspecies) npmt
pure subroutine wavefcr(tsh, lrstp, is, ia, ist, m, ld, wfcr)
complex(8), dimension(:,:), allocatable zbshto
real(8), dimension(:,:,:,:), allocatable rwfcr
integer, dimension(maxspecies) nrcmti
integer, dimension(maxspecies) nrmti
complex(8), dimension(:,:), allocatable zbshti
integer, dimension(maxspecies) nrmt