12integer ik,ist,jst,is,ia
17complex(4) wfcr1(npcmtmax,2),wfcr2(npcmtmax,2)
18complex(4) crhomt(npcmtmax),cvclmt(npcmtmax)
20complex(8),
external :: zcfmtinp
34 write(*,
'("Info(exxengy): ",I6," of ",I6," k-points")') ik,
nkpt
42call 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)
85pure subroutine crho2(n,wf11,wf12,wf21,wf22,crho)
87integer,
intent(in) :: n
88complex(4),
intent(in) :: wf11(n),wf12(n),wf21(n),wf22(n)
89complex(4),
intent(out) :: crho(n)
90crho(1:n)=conjg(wf11(1:n))*wf21(1:n)+conjg(wf12(1:n))*wf22(1:n)
subroutine cfshtip(nr, nri, cfmt)
pure subroutine cpotclmt(nr, nri, ld, rl, wpr, crhomt, cvclmt)
pure subroutine crho2(n, wf11, wf12, wf21, wf22, crho)
integer, dimension(maxspecies) natoms
logical, dimension(maxstsp, maxspecies) spcore
integer, dimension(maxspecies) nrcmt
integer, dimension(maxspecies) nstsp
real(8), dimension(:,:,:), allocatable rlcmt
real(8), dimension(:,:), allocatable wr2cmt
real(8), dimension(:,:,:), allocatable wprcmt
integer, dimension(maxspecies) npcmt
integer, dimension(maxstsp, maxspecies) ksp
integer, dimension(maxspecies) nrcmti
subroutine holdthd(nloop, nthd)
pure subroutine wavefcr(tsh, lrstp, is, ia, ist, m, ld, wfcr)
pure complex(8) function zcfmtinp(nr, nri, wr, cfmt1, cfmt2)