mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-09-01 21:53:40 +02:00
13 lines
246 B
Fortran
13 lines
246 B
Fortran
subroutine det_energy(det,energy)
|
|
|
|
implicit none
|
|
|
|
integer(bit_kind), intent(in) :: det
|
|
|
|
double precision, intent(out) :: energy
|
|
double precision, external :: diag_H_mat_elem
|
|
|
|
energy = diag_H_mat_elem(det,N_int) + nuclear_repulsion
|
|
|
|
end
|