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:
Pietro Delugas 2020-07-24 15:10:47 +00:00
commit 81d7c62fbb
1 changed files with 2 additions and 2 deletions

View File

@ -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