10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-08-02 10:34:02 +02:00
QuantumPackage/src/mo_one_e_ints/orthonormalize.irp.f
2020-02-20 15:38:02 -06:00

20 lines
509 B
Fortran

subroutine orthonormalize_mos
implicit none
integer :: m,p,s
if (is_complex) then
m = size(mo_coef_complex,1)
p = size(mo_overlap_complex,1)
call ortho_lowdin_complex(mo_overlap_complex,p,mo_num,mo_coef_complex,m,ao_num)
mo_label = 'Orthonormalized'
SOFT_TOUCH mo_coef_complex mo_label
else
m = size(mo_coef,1)
p = size(mo_overlap,1)
call ortho_lowdin(mo_overlap,p,mo_num,mo_coef,m,ao_num)
mo_label = 'Orthonormalized'
SOFT_TOUCH mo_coef mo_label
endif
end