mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-11-07 05:53:37 +01:00
Merge pull request #265 from AbdAmmar/dev-stable-tc-scf
Dev stable tc scf
This commit is contained in:
commit
bea45d618f
@ -27,6 +27,23 @@ program tc_scf
|
|||||||
!call orthonormalize_mos()
|
!call orthonormalize_mos()
|
||||||
|
|
||||||
PROVIDE tcscf_algorithm
|
PROVIDE tcscf_algorithm
|
||||||
|
PROVIDE var_tc
|
||||||
|
|
||||||
|
if(var_tc) then
|
||||||
|
|
||||||
|
print *, ' VAR-TC'
|
||||||
|
|
||||||
|
if(tcscf_algorithm == 'DIIS') then
|
||||||
|
print*, ' NOT implemented yet'
|
||||||
|
elseif(tcscf_algorithm == 'Simple') then
|
||||||
|
call rh_vartcscf_simple()
|
||||||
|
else
|
||||||
|
print *, ' not implemented yet', tcscf_algorithm
|
||||||
|
stop
|
||||||
|
endif
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
if(tcscf_algorithm == 'DIIS') then
|
if(tcscf_algorithm == 'DIIS') then
|
||||||
call rh_tcscf_diis()
|
call rh_tcscf_diis()
|
||||||
elseif(tcscf_algorithm == 'Simple') then
|
elseif(tcscf_algorithm == 'Simple') then
|
||||||
@ -39,6 +56,9 @@ program tc_scf
|
|||||||
call minimize_tc_orb_angles()
|
call minimize_tc_orb_angles()
|
||||||
call print_energy_and_mos()
|
call print_energy_and_mos()
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
! ---
|
! ---
|
||||||
|
Loading…
Reference in New Issue
Block a user