9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-11-09 06:53:38 +01:00
qp2/src/ccsd/save_energy.irp.f
Anthony Scemama 4d9e28438c
Some checks failed
continuous-integration/drone/push Build is failing
Improved I/O in CCSD
2023-06-12 14:05:36 +02:00

14 lines
246 B
Fortran

subroutine save_energy(E,ET)
implicit none
BEGIN_DOC
! Saves the energy in |EZFIO|.
END_DOC
double precision, intent(in) :: E, ET
call ezfio_set_ccsd_energy(E)
if (ET /= 0.d0) then
call ezfio_set_ccsd_energy_t(E+ET)
endif
end