mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-11-09 06:53:38 +01:00
23 lines
446 B
Fortran
23 lines
446 B
Fortran
|
subroutine dress_zmq()
|
||
|
implicit none
|
||
|
double precision, allocatable :: energy(:)
|
||
|
allocate (energy(N_states))
|
||
|
threshold_generators = 1d0
|
||
|
|
||
|
read_wf = .True.
|
||
|
SOFT_TOUCH read_wf threshold_generators
|
||
|
|
||
|
if (.True.) then
|
||
|
integer :: i,j
|
||
|
do j=1,N_states
|
||
|
do i=1,N_det
|
||
|
psi_coef(i,j) = CI_eigenvectors(i,j)
|
||
|
enddo
|
||
|
enddo
|
||
|
SOFT_TOUCH psi_coef
|
||
|
endif
|
||
|
call run_dressing(N_states,energy)
|
||
|
deallocate(energy)
|
||
|
end
|
||
|
|