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:
parent
fade372e02
commit
4e877810da
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user