mirror of https://gitlab.com/QEF/q-e.git
Bug fix: phonons of metals at the gamma point might be unprecise when
ecutrho > 4 ecutwfc and the Fermi energy changes (systems with several atoms in the unit cell). git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9993 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
parent
c84a640180
commit
9b732c9a24
|
@ -139,7 +139,7 @@ subroutine ef_shift (drhoscf, ldos, ldoss, dos_ef, irr, npe, flag)
|
|||
enddo
|
||||
do ipert = 1, npert (irr)
|
||||
do is = 1, nspin_mag
|
||||
call zaxpy (dffts%nnr, def(ipert), ldoss(1,is), 1, drhoscf(1,is,ipert), 1)
|
||||
call zaxpy (dfftp%nnr, def(ipert), ldos(1,is), 1, drhoscf(1,is,ipert), 1)
|
||||
enddo
|
||||
enddo
|
||||
endif
|
||||
|
@ -289,7 +289,7 @@ subroutine ef_shift_paw (drhoscf, dbecsum, ldos, ldoss, becsum1, &
|
|||
enddo
|
||||
do ipert = 1, npert (irr)
|
||||
do is = 1, nspin_mag
|
||||
call zaxpy (dffts%nnr, def(ipert), ldoss(1,is), 1, drhoscf(1,is,ipert), 1)
|
||||
call zaxpy (dfftp%nnr, def(ipert), ldos(1,is), 1, drhoscf(1,is,ipert), 1)
|
||||
enddo
|
||||
enddo
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue