13integer,
intent(in) :: iq
14complex(8),
intent(out) :: d(nbph,nbph),e(nbph,nbph)
16integer ik,jk,ikq,isym,nthd
17integer i1,i2,j1,j2,l1,l2
21complex(4) ephmat(nstsv,nstsv,nbph)
22complex(8) x(nstsv,nstsv),y(nstsv,nstsv)
50 z1=z1+ephmat(j2,i2,l2)*
duv(j1,j2,ikq)
59 z1=z1-conjg(
duv(i1,i2,jk))*x(i2,j1)
65 if (
ediag.and.(l1 /= l2)) cycle
69 z1=z1+conjg(ephmat(j1,i1,l1))*y(j1,i1)
72 e(l1,l2)=e(l1,l2)+t0*z1
82 z1=z1+ephmat(j1,i2,l2)*
dvv(j2,j1,ikq)
92 z1=z1+
dvv(i2,i1,jk)*x(i2,j2)
98 if (
ediag.and.(l1 /= l2)) cycle
102 z1=z1+conjg(ephmat(j2,i1,l1))*y(i1,j2)
105 e(l1,l2)=e(l1,l2)+t0*z1
119 d(l1,l1)=d(l1,l1)+
wphq(l1,iq)
subroutine findkpt(vpl, isym, ik)
subroutine getephmkq(iqp, ikp, ephmat)
subroutine hmlephde(iq, d, e)
complex(8), dimension(:,:,:), pointer, contiguous duv
complex(8), dimension(:,:,:), pointer, contiguous dvv
integer, dimension(:,:), allocatable ivk
real(8), dimension(:,:), allocatable vql
real(8), dimension(:,:), allocatable vkl
integer, dimension(:,:,:), allocatable ivkik
subroutine holdthd(nloop, nthd)
real(8), dimension(2) ephscf
real(8), dimension(:,:), allocatable wphq