mirror of
https://gitlab.com/scemama/qmcchem.git
synced 2024-12-21 20:03:31 +01:00
Fixed v1
This commit is contained in:
parent
0195aaa166
commit
91f809b973
@ -252,7 +252,7 @@ BEGIN_PROVIDER [ double precision, E_loc ]
|
||||
enddo
|
||||
|
||||
! Avoid divergence of E_loc and population explosion
|
||||
if (do_pseudo .and. qmc_method == 'DMC' ) then
|
||||
if (do_pseudo .and. (qmc_method == t_DMC) ) then
|
||||
double precision :: delta_e
|
||||
delta_e = E_loc-E_ref
|
||||
E_loc = E_ref + delta_e * dexp(-dabs(delta_e)*time_step_sq)
|
||||
|
Loading…
Reference in New Issue
Block a user