1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-11-19 12:32:40 +01:00

Initialize local energy. #41

This commit is contained in:
v1j4y 2021-10-15 14:00:36 +02:00
parent fade372e02
commit 4e877810da

View File

@ -1219,6 +1219,7 @@ integer function qmckl_compute_local_energy_f(context, walk_num, &
return
endif
e_local = 0.0d0
do iwalk = 1, walk_num
e_local(iwalk) = e_local(iwalk) + e_kin(iwalk) + e_pot(iwalk)
end do