9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-12-23 20:13:42 +01:00
qp2/plugins/local/tc_progs/print_tc_energy.irp.f

54 lines
1.1 KiB
Fortran
Raw Normal View History

2023-04-03 14:55:02 +02:00
program print_tc_energy
2023-06-24 18:54:32 +02:00
2023-04-03 14:55:02 +02:00
BEGIN_DOC
2023-06-24 18:54:32 +02:00
! TODO : Put the documentation of the program here
2023-04-03 14:55:02 +02:00
END_DOC
2023-06-24 18:54:32 +02:00
implicit none
2023-04-03 14:55:02 +02:00
read_wf = .True.
touch read_wf
2023-05-06 18:25:06 +02:00
2024-05-01 20:25:01 +02:00
my_grid_becke = .True.
PROVIDE tc_grid1_a tc_grid1_r
my_n_pt_r_grid = tc_grid1_r
my_n_pt_a_grid = tc_grid1_a
touch my_grid_becke my_n_pt_r_grid my_n_pt_a_grid
call write_int(6, my_n_pt_r_grid, 'radial external grid over')
call write_int(6, my_n_pt_a_grid, 'angular external grid over')
if(tc_integ_type .eq. "numeric") then
my_extra_grid_becke = .True.
PROVIDE tc_grid2_a tc_grid2_r
my_n_pt_r_extra_grid = tc_grid2_r
my_n_pt_a_extra_grid = tc_grid2_a
touch my_extra_grid_becke my_n_pt_r_extra_grid my_n_pt_a_extra_grid
call write_int(6, my_n_pt_r_extra_grid, 'radial internal grid over')
call write_int(6, my_n_pt_a_extra_grid, 'angular internal grid over')
endif
2024-05-02 17:18:45 +02:00
call main()
end
! ---
subroutine main()
implicit none
PROVIDE j2e_type
PROVIDE j1e_type
PROVIDE env_type
print *, ' j2e_type = ', j2e_type
print *, ' j1e_type = ', j1e_type
print *, ' env_type = ', env_type
2023-06-24 18:54:32 +02:00
call write_tc_energy()
2023-04-03 14:55:02 +02:00
end