25complex(8),
intent(inout) :: dedc(nstsv,nstsv,nkpt)
27integer ik1,ik2,jk,iv(3)
28integer ist1,ist2,ist3,ist4
31complex(8),
allocatable :: vcl1223(:,:,:,:),evecsv(:,:)
46 write(*,
'("Error(rdmdexcdc): rdmxctype not defined : ",I8)')
rdmxctype
50allocate(vcl1223(nstsv,nstsv,nstsv,nkpt))
51allocate(evecsv(nstsv,nstsv))
58 jk=
ivkik(iv(1),iv(2),iv(3))
72 t3=sum(abs(
vkl(:,ik2)-
vkl(:,ik1)))
73 if ((ist3 == ist4).and.(t3 <
epslat))
then
79 dedc(ist2,ist3,ik2)=dedc(ist2,ist3,ik2)-t2*evecsv(ist2,ist1)* &
80 vcl1223(ist1,ist3,ist4,ik2)
89deallocate(vcl1223,evecsv)
integer, dimension(:,:), allocatable ivk
real(8), dimension(:,:), allocatable vkl
integer, dimension(:,:,:), allocatable ivkik
real(8), dimension(:,:), allocatable occsv