9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-12-22 03:23:29 +01:00
qp2/plugins/local/fci_tc_bi/save_energy.irp.f

10 lines
282 B
Fortran
Raw Normal View History

2023-02-07 17:28:11 +01:00
subroutine save_energy(E,pt2)
implicit none
BEGIN_DOC
! Saves the energy in |EZFIO|.
END_DOC
double precision, intent(in) :: E(N_states), pt2(N_states)
2023-04-24 01:32:05 +02:00
call ezfio_set_fci_tc_bi_energy(E(1:N_states))
call ezfio_set_fci_tc_bi_energy_pt2(E(1:N_states)+pt2(1:N_states))
2023-02-07 17:28:11 +01:00
end