mirror of
https://github.com/LCPQ/quantum_package
synced 2024-12-22 20:35:19 +01:00
Fixed truncate
This commit is contained in:
parent
ca1cdbe79a
commit
c46f4c5014
@ -1,4 +1,10 @@
|
||||
program e_curve
|
||||
program truncate
|
||||
read_wf = .True.
|
||||
SOFT_TOUCH read_wf
|
||||
call run
|
||||
end
|
||||
|
||||
subroutine run
|
||||
use bitmasks
|
||||
implicit none
|
||||
integer :: i,j,k, kk, nab, m, l
|
||||
@ -6,9 +12,6 @@ program e_curve
|
||||
integer, allocatable :: iorder(:)
|
||||
double precision , allocatable :: norm_sort(:)
|
||||
double precision :: e_0(N_states)
|
||||
if (.not.read_wf) then
|
||||
stop 'Please set read_wf to true'
|
||||
endif
|
||||
|
||||
PROVIDE mo_bielec_integrals_in_map H_apply_buffer_allocated
|
||||
|
||||
@ -21,8 +24,6 @@ program e_curve
|
||||
allocate(u_t(N_states,N_det),v_t(N_states,N_det),s_t(N_states,N_det))
|
||||
allocate(u_0(N_det,N_states),v_0(N_det,N_states))
|
||||
|
||||
read(*,*) ci_threshold
|
||||
|
||||
norm_sort(0) = 0.d0
|
||||
iorder(0) = 0
|
||||
do i=1,n_det_alpha_unique
|
||||
|
Loading…
Reference in New Issue
Block a user