minor change

This commit is contained in:
Niri Govind 2014-05-09 05:37:39 +00:00
parent 7553910c78
commit 035eb7d68d

View file

@ -1718,6 +1718,13 @@ c
& 'Calculation failed to converge', 20, .true.)
write(LuOut,*)
endif
c
c Tally up last energy
if (nExc.eq.1)then
Etnew = Ecore + Ecoul + Exc(1) + Edisp
else
Etnew = Ecore + Ecoul + Exc(1) + Exc(2) + Edisp
endif
c
dft_time = dft_time+util_cpusec()
if (nexc.le.1)then