mirror of https://gitlab.com/QEF/q-e.git
matdyn bug for ibrav=0
"latgen" should not issue a warning and should compute the volume as well when called with ibrav=0 and supplying the lattice vectors
This commit is contained in:
parent
65f7e28280
commit
51cb186d27
|
@ -5,6 +5,7 @@ Fixed in dev version:
|
|||
* Bug in Hubbard forces and stress for bands parallelization (when nproc_pool>nbnd)
|
||||
* Crash in the calculation of Z* with ultrasoft PP when the number of bands
|
||||
is larger than the number of occupied bands (thanks to Sasha Fonari)
|
||||
* Crash in matdyn.x when ibrav=0 (thanks to Sasha Fonari)
|
||||
|
||||
Incompatible changes in dev version:
|
||||
* FoX no longer used to read and write pseudopotential files
|
||||
|
|
|
@ -330,7 +330,6 @@ SUBROUTINE latgen_lib(ibrav,celldm,a1,a2,a3,omega, ierr, errormsg)
|
|||
a3(3) =-a1(3)
|
||||
ELSEIF (ibrav == -13) THEN
|
||||
errormsg='BEWARE: axis for ibrav=-13 changed, see documentation!'
|
||||
!CALL infomsg('latgen','BEWARE: axis for ibrav=-13 changed, see documentation!')
|
||||
!
|
||||
! One face centered monoclinic lattice unique axis b
|
||||
!
|
||||
|
@ -368,7 +367,7 @@ SUBROUTINE latgen_lib(ibrav,celldm,a1,a2,a3,omega, ierr, errormsg)
|
|||
a3(2)=celldm(1)*celldm(3)*(celldm(4)-celldm(5)*celldm(6))/singam
|
||||
a3(3)=celldm(1)*celldm(3)*term
|
||||
!
|
||||
ELSE
|
||||
ELSE IF (ibrav /= 0) THEN
|
||||
!
|
||||
errormsg='nonexistent bravais lattice'
|
||||
ierr=ABS(ibrav)
|
||||
|
|
Loading…
Reference in New Issue