mirror of
https://github.com/LCPQ/quantum_package
synced 2024-11-04 21:24:02 +01:00
26 lines
594 B
Fortran
26 lines
594 B
Fortran
|
|
|
|
BEGIN_PROVIDER [ double precision, dressing_column_h, (N_det,N_states) ]
|
|
&BEGIN_PROVIDER [ double precision, dressing_column_s, (N_det,N_states) ]
|
|
implicit none
|
|
BEGIN_DOC
|
|
! Null dressing vectors
|
|
END_DOC
|
|
dressing_column_h(:,:) = 0.d0
|
|
dressing_column_s(:,:) = 0.d0
|
|
|
|
integer :: i,ii,k,j,jj, l
|
|
double precision :: f, tmp
|
|
double precision, external :: u_dot_v
|
|
|
|
do k=1,N_states
|
|
l = dressed_column_idx(k)
|
|
do jj = 1, n_det_non_ref
|
|
j = idx_non_ref(jj)
|
|
dressing_column_h(j,k) = delta_ij (k,jj)
|
|
dressing_column_s(j,k) = delta_ij_s2(k,jj)
|
|
enddo
|
|
enddo
|
|
END_PROVIDER
|
|
|