mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-12-21 19:13:29 +01:00
Fixing CSF
This commit is contained in:
parent
64d80fd273
commit
7770e4df58
@ -66,11 +66,11 @@ subroutine convertWFfromDETtoCSF(N_st,psi_coef_det_in, psi_coef_cfg_out)
|
|||||||
|
|
||||||
bfIcfg = max(1,nint((binom(s,(s+1)/2)-binom(s,((s+1)/2)+1))))
|
bfIcfg = max(1,nint((binom(s,(s+1)/2)-binom(s,((s+1)/2)+1))))
|
||||||
|
|
||||||
if(iand(s,1) .EQ. 0) then
|
! if(iand(s,1) .EQ. 0) then
|
||||||
bfIcfg = max(1,nint((binom(s,s/2)-binom(s,(s/2)+1))))
|
! bfIcfg = max(1,nint((binom(s,s/2)-binom(s,(s/2)+1))))
|
||||||
else
|
! else
|
||||||
bfIcfg = max(1,nint((binom(s,(s+1)/2)-binom(s,((s+1)/2)+1))))
|
! bfIcfg = max(1,nint((binom(s,(s+1)/2)-binom(s,((s+1)/2)+1))))
|
||||||
endif
|
! endif
|
||||||
|
|
||||||
! perhaps blocking with CFGs of same seniority
|
! perhaps blocking with CFGs of same seniority
|
||||||
! can be more efficient
|
! can be more efficient
|
||||||
|
@ -8,7 +8,7 @@ subroutine set_multiple_levels_omp(activate)
|
|||||||
logical, intent(in) :: activate
|
logical, intent(in) :: activate
|
||||||
|
|
||||||
if (activate) then
|
if (activate) then
|
||||||
call omp_set_max_active_levels(5)
|
call omp_set_max_active_levels(3)
|
||||||
|
|
||||||
IRP_IF SET_NESTED
|
IRP_IF SET_NESTED
|
||||||
call omp_set_nested(.True.)
|
call omp_set_nested(.True.)
|
||||||
|
Loading…
Reference in New Issue
Block a user