mirror of https://gitlab.com/QEF/q-e.git
Merge branch 'fix_xml_print' into 'develop'
forces and stress printed only at scf convergence See merge request QEF/q-e!1046
This commit is contained in:
commit
81d7c62fbb
|
@ -608,7 +608,7 @@ MODULE pw_restart_new
|
|||
! ... FORCES
|
||||
!----------------------------------------------------------------------------------------------
|
||||
!
|
||||
IF ( lforce ) THEN
|
||||
IF ( lforce .and. conv_elec ) THEN
|
||||
output_obj%forces_ispresent = .TRUE.
|
||||
CALL qexsd_init_forces(output_obj%forces,nat,force,lforce)
|
||||
ELSE
|
||||
|
@ -619,7 +619,7 @@ MODULE pw_restart_new
|
|||
!------------------------------------------------------------------------------------------------
|
||||
! ... STRESS
|
||||
!------------------------------------------------------------------------------------------------
|
||||
IF ( lstres) THEN
|
||||
IF ( lstres .and. conv_elec ) THEN
|
||||
output_obj%stress_ispresent=.TRUE.
|
||||
CALL qexsd_init_stress(output_obj%stress, sigma, lstres )
|
||||
ELSE
|
||||
|
|
Loading…
Reference in New Issue