12 integer ik,ist,jst,is,ia
17 complex(4) wfcr1(npcmtmax,2),wfcr2(npcmtmax,2)
18 complex(4) crhomt(npcmtmax),cvclmt(npcmtmax)
20 complex(8),
external :: zcfmtinp
34 write(*,
'("Info(exxengy): ",I6," of ",I6," k-points")') ik,
nkpt 42 call mpi_allreduce(mpi_in_place,
engyx,1,mpi_double_precision,mpi_sum,
mpicom, &
55 do m2=-
ksp(jst,is),
ksp(jst,is)-1
60 do m1=-
ksp(ist,is),
ksp(ist,is)-1
63 call crho2(npc,wfcr1,wfcr1(:,2),wfcr2,wfcr2(:,2),crhomt)
68 z1=zcfmtinp(nrc,nrci,
wr2cmt(:,is),crhomt,cvclmt)
84 pure subroutine crho2(n,wf11,wf12,wf21,wf22,crho)
86 integer,
intent(in) :: n
87 complex(4),
intent(in) :: wf11(n),wf12(n),wf21(n),wf22(n)
88 complex(4),
intent(out) :: crho(n)
89 crho(1:n)=conjg(wf11(1:n))*wf21(1:n)+conjg(wf12(1:n))*wf22(1:n)
integer, dimension(maxstsp, maxspecies) ksp
integer, dimension(maxspecies) npcmt
logical, dimension(maxstsp, maxspecies) spcore
real(8), dimension(:,:,:), allocatable rlcmt
pure subroutine wavefcr(tsh, lrstp, is, ia, ist, m, ld, wfcr)
real(8), dimension(:,:,:), allocatable wprcmt
integer, dimension(maxspecies) natoms
real(8), dimension(:,:), allocatable wr2cmt
subroutine cfshtip(nr, nri, cfmt)
pure subroutine crho2(n, wf11, wf12, wf21, wf22, crho)
subroutine holdthd(nloop, nthd)
integer, dimension(maxspecies) nstsp
pure subroutine cpotclmt(nr, nri, ld, rl, wpr, crhomt, cvclmt)
integer, dimension(maxspecies) nrcmt
integer, dimension(maxspecies) nrcmti