10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-06-19 03:37:08 +02:00
QuantumPackage/src/tc_scf/minimize_tc_angles.irp.f
2023-05-07 18:52:03 +02:00

18 lines
431 B
Fortran

program print_angles
implicit none
BEGIN_DOC
! program that minimizes the angle between left- and right-orbitals when degeneracies are found in the TC-Fock matrix
END_DOC
my_grid_becke = .True.
my_n_pt_r_grid = 30
my_n_pt_a_grid = 50
touch my_n_pt_r_grid my_n_pt_a_grid
! call sort_by_tc_fock
! TODO
! check if rotations of orbitals affect the TC energy
! and refuse the step
call minimize_tc_orb_angles
end