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