mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-11-19 04:22:32 +01:00
Added selection factor
This commit is contained in:
parent
e53e7585f9
commit
ce0a5f4e70
@ -103,9 +103,8 @@ subroutine run_cipsi
|
|||||||
if (qp_stop()) exit
|
if (qp_stop()) exit
|
||||||
|
|
||||||
n_det_before = N_det
|
n_det_before = N_det
|
||||||
to_select = N_det
|
to_select = N_det*int(sqrt(dble(N_states)))*selection_factor
|
||||||
to_select = max(N_states_diag, to_select)
|
to_select = max(N_states_diag, to_select)
|
||||||
! to_select = min(to_select, N_det_max-n_det_before)
|
|
||||||
call ZMQ_selection(to_select, pt2, variance, norm)
|
call ZMQ_selection(to_select, pt2, variance, norm)
|
||||||
|
|
||||||
PROVIDE psi_coef
|
PROVIDE psi_coef
|
||||||
|
@ -70,7 +70,7 @@ subroutine run_stochastic_cipsi
|
|||||||
write(*,'(A)') '--------------------------------------------------------------------------------'
|
write(*,'(A)') '--------------------------------------------------------------------------------'
|
||||||
|
|
||||||
|
|
||||||
to_select = N_det*int(sqrt(dble(N_states)))
|
to_select = N_det*int(sqrt(dble(N_states)))*selection_factor
|
||||||
to_select = max(N_states_diag, to_select)
|
to_select = max(N_states_diag, to_select)
|
||||||
|
|
||||||
pt2 = 0.d0
|
pt2 = 0.d0
|
||||||
|
@ -89,6 +89,11 @@ doc: Weight of the states in state-average calculations.
|
|||||||
interface: ezfio
|
interface: ezfio
|
||||||
size: (determinants.n_states)
|
size: (determinants.n_states)
|
||||||
|
|
||||||
|
[selection_factor]
|
||||||
|
type: double precision
|
||||||
|
doc: f such that the number of determinants to add is f * N_det * sqrt(N_states)
|
||||||
|
interface: ezfio,provider,ocaml
|
||||||
|
default: 1.
|
||||||
|
|
||||||
[thresh_sym]
|
[thresh_sym]
|
||||||
type: Threshold
|
type: Threshold
|
||||||
|
Loading…
Reference in New Issue
Block a user