mirror of
https://gitlab.com/scemama/qp_plugins_scemama.git
synced 2024-11-07 14:43:41 +01:00
Added abproducts
This commit is contained in:
parent
0589635dc2
commit
08a66a51b5
13
devel/svdwf/ab_products.irp.f
Normal file
13
devel/svdwf/ab_products.irp.f
Normal file
@ -0,0 +1,13 @@
|
||||
program abproducts
|
||||
implicit none
|
||||
read_wf = .True.
|
||||
TOUCH read_wf
|
||||
call run
|
||||
end
|
||||
|
||||
subroutine run
|
||||
implicit none
|
||||
call generate_all_alpha_beta_det_products
|
||||
call diagonalize_ci
|
||||
call save_wavefunction
|
||||
end
|
@ -106,8 +106,8 @@ subroutine run
|
||||
deallocate( Vtref )
|
||||
|
||||
! Truncated rank
|
||||
n_selected = n_svd
|
||||
call write_int(6,n_svd, 'Rank of psi')
|
||||
n_selected = 10 ! n_svd
|
||||
call write_int(6,n_selected, 'Rank of psi')
|
||||
|
||||
|
||||
!________________________________________________________________________________________________________
|
||||
|
@ -1 +1,2 @@
|
||||
-L/home/scemama/TREX/trexio/_install/lib -L/usr/lib/x86_64-linux-gnu/hdf5/serial -ltrexio
|
||||
-L/home/scemama/TREX/trexio/_install/lib -ltrexio
|
||||
|
||||
|
@ -105,6 +105,9 @@ program export_trexio
|
||||
rc = trexio_write_basis_prim_num(f, prim_num)
|
||||
call check_success(rc)
|
||||
|
||||
rc = trexio_write_basis_shell_prim_num(f, shell_prim_num)
|
||||
call check_success(rc)
|
||||
|
||||
double precision, allocatable :: factor(:)
|
||||
allocate(factor(shell_num))
|
||||
if (ao_normalized) then
|
||||
@ -116,9 +119,6 @@ program export_trexio
|
||||
call check_success(rc)
|
||||
deallocate(factor)
|
||||
|
||||
rc = trexio_write_basis_prim_num(f, prim_num)
|
||||
call check_success(rc)
|
||||
|
||||
rc = trexio_write_basis_prim_index(f, shell_prim_index)
|
||||
call check_success(rc)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user