14integer ir,npc,n,lp,nthd
17real(8),
allocatable :: vxcrmt(:,:,:),vxcrir(:,:)
18real(8),
allocatable :: bxcrmt(:,:,:,:),bxcrir(:,:,:)
19real(8),
allocatable :: rhomt_(:,:),rhoir_(:)
20real(8),
allocatable :: magmt_(:,:,:),magir_(:,:)
21real(8),
allocatable :: vxcmt_(:,:),bxcmt_(:,:,:)
22complex(8),
allocatable :: vxcqmt(:,:,:),vxcqir(:,:)
63 call potxc(.false.,
xctype,rhomt_,rhoir_,magmt_,magir_,
taumt,
tauir,
exmt,
exir, &
64 ecmt,
ecir,vxcmt_,vxcrir(:,ir),bxcmt_,bxcrir(:,:,ir),
wxcmt,
wxcir)
78deallocate(rhomt_,rhoir_,vxcmt_)
79if (
spinpol)
deallocate(magmt_,magir_,bxcmt_)
87 call mpi_bcast(vxcrmt(:,:,ir),n,mpi_double_precision,lp,
mpicom,
ierror)
97 call mpi_bcast(bxcrmt(:,:,:,ir),n,mpi_double_precision,lp,
mpicom,
ierror)
102 call mpi_bcast(bxcrir(:,:,ir),n,mpi_double_precision,lp,
mpicom,
ierror)
109deallocate(vxcrmt,vxcrir)
121 vsqmt(1:npc,ias,ifq)=
vsqmt(1:npc,ias,ifq)+vxcqmt(1:npc,ias,ifq)+z1
133deallocate(vxcqmt,vxcqir)
137 deallocate(bxcrmt,bxcrir)
152 bsqmt(1:npc,ias,idm,ifq)=
bsqmt(1:npc,ias,idm,ifq)+z2
real(8), dimension(:,:), allocatable exmt
real(8), dimension(:,:,:), allocatable taumt
real(8), dimension(:,:), allocatable ecmt
integer, dimension(maxspecies) nrcmt
integer, dimension(3) xctype
integer, dimension(maxatoms *maxspecies) idxis
integer, dimension(maxspecies) npcmt
real(8), dimension(:), allocatable exir
integer, dimension(maxspecies) nrcmti
real(8), dimension(:,:), allocatable tauir
real(8), dimension(:), allocatable wxcir
real(8), dimension(:,:), allocatable wxcmt
real(8), dimension(:), allocatable ecir
subroutine holdthd(nloop, nthd)
complex(8), dimension(:), allocatable vclq
complex(8), dimension(:,:,:,:), pointer, contiguous bsqmt
complex(8), dimension(:,:), allocatable bfcq
real(8), dimension(:,:,:), allocatable rhormt
real(8), dimension(:,:,:,:), allocatable magrmt
complex(8), dimension(:,:,:), pointer, contiguous vsqmt
complex(8), dimension(:,:,:), pointer, contiguous bsqir
complex(8), dimension(:,:), allocatable bdipq
real(8), dimension(:,:,:), allocatable magrir
complex(8), dimension(:,:), pointer, contiguous vsqir
real(8), dimension(:,:), allocatable rhorir
complex(8), dimension(:,:,:), allocatable bfcmtq
subroutine potxc(tsh, xctype_, rhomt_, rhoir_, magmt_, magir_, taumt_, tauir_, exmt_, exir_, ecmt_, ecir_, vxcmt_, vxcir_, bxcmt_, bxcir_, wxcmt_, wxcir_)
subroutine rfirctof(rfirc, rfir)
subroutine rfmtctof(rfmt)
pure subroutine rfmtftoc(nrc, nrci, rfmt, rfcmt)
subroutine rfzfftq(sgn, nf, ngt, rfmt, rfir, zfmt, zfir)