mirror of
https://gitlab.com/scemama/qp_plugins_scemama.git
synced 2024-11-07 06:33:40 +01:00
14 lines
246 B
FortranFixed
14 lines
246 B
FortranFixed
|
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
|
||
|
|
||
|
|