9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-12-22 19:43:32 +01:00
qp2/plugins/local/fci_tc_bi/pt2_tc.irp.f

43 lines
623 B
Fortran
Raw Normal View History

2023-07-02 21:49:25 +02:00
! ---
2023-05-01 14:00:04 +02:00
program tc_pt2_prog
2023-07-02 21:49:25 +02:00
2023-05-01 14:00:04 +02:00
implicit none
2023-07-02 21:49:25 +02:00
2023-05-01 14:00:04 +02:00
my_grid_becke = .True.
2023-07-02 21:49:25 +02:00
PROVIDE tc_grid1_a tc_grid1_r
my_n_pt_r_grid = tc_grid1_r
my_n_pt_a_grid = tc_grid1_a
2023-05-01 14:00:04 +02:00
touch my_grid_becke my_n_pt_r_grid my_n_pt_a_grid
2023-07-02 21:49:25 +02:00
2023-05-01 14:00:04 +02:00
pruning = -1.d0
touch pruning
2023-07-02 21:49:25 +02:00
2023-05-01 14:00:04 +02:00
! pt2_relative_error = 0.01d0
! touch pt2_relative_error
2023-07-02 21:49:25 +02:00
call run_pt2_tc()
2023-05-01 14:00:04 +02:00
end
2023-07-02 21:49:25 +02:00
! ---
2023-05-01 14:00:04 +02:00
2023-07-02 21:49:25 +02:00
subroutine run_pt2_tc()
2023-05-01 14:00:04 +02:00
2023-07-02 21:49:25 +02:00
implicit none
2023-05-01 14:00:04 +02:00
PROVIDE psi_det psi_coef mo_bi_ortho_tc_two_e mo_bi_ortho_tc_one_e
2023-07-02 21:49:25 +02:00
if(elec_alpha_num+elec_beta_num.ge.3) then
2023-05-01 14:00:04 +02:00
if(three_body_h_tc)then
2023-07-02 21:49:25 +02:00
call provide_all_three_ints_bi_ortho()
2023-05-01 14:00:04 +02:00
endif
endif
2023-07-02 21:49:25 +02:00
call tc_pt2()
2023-05-01 14:00:04 +02:00
end
2023-07-02 21:49:25 +02:00
! ---