mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-08-30 15:53:42 +02:00
17 lines
495 B
Fortran
17 lines
495 B
Fortran
program save_ortho_mos
|
|
implicit none
|
|
BEGIN_DOC
|
|
! Save orthonormalized MOs in the EZFIO.
|
|
!
|
|
! This program reads the current MOs, computes the corresponding overlap matrix in the MO basis
|
|
!
|
|
! and perform a Lowdin orthonormalization : :math:`MO_{new} = S^{-1/2} MO_{guess}`.
|
|
!
|
|
! Thanks to the Lowdin orthonormalization, the new MOs are the most similar to the guess MOs.
|
|
END_DOC
|
|
call orthonormalize_mos
|
|
mo_label = 'Orthonormalized'
|
|
SOFT_TOUCH mo_label
|
|
call save_mos
|
|
end
|