10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-11-07 22:53:57 +01:00
quantum_package/src/Hartree_Fock/options.irp.f

56 lines
1.1 KiB
FortranFixed
Raw Normal View History

2014-04-23 22:10:36 +02:00
BEGIN_PROVIDER [ double precision,thresh_SCF ]
implicit none
BEGIN_DOC
! Threshold on the convergence of the Hartree Fock energy
END_DOC
2014-05-13 13:57:58 +02:00
logical :: has
2014-04-23 22:10:36 +02:00
PROVIDE ezfio_filename
call ezfio_has_Hartree_Fock_thresh_SCF(has)
if (has) then
call ezfio_get_Hartree_Fock_thresh_SCF(thresh_SCF)
else
thresh_SCF = 1.d-10
endif
2014-05-13 13:57:58 +02:00
call write_time(output_Hartree_Fock)
call write_double(output_Hartree_Fock, thresh_SCF, &
'thresh_SCF')
2014-04-23 22:10:36 +02:00
END_PROVIDER
2014-04-24 12:31:15 +02:00
BEGIN_PROVIDER [ integer, n_it_scf_max]
2014-04-23 22:10:36 +02:00
implicit none
BEGIN_DOC
! Maximum number of SCF iterations
END_DOC
logical :: has
PROVIDE ezfio_filename
call ezfio_has_Hartree_Fock_n_it_scf_max (has)
if (has) then
call ezfio_get_Hartree_Fock_n_it_scf_max(n_it_scf_max)
else
n_it_scf_max = 30
endif
END_PROVIDER
2014-04-24 12:31:15 +02:00
BEGIN_PROVIDER [ logical, do_DIIS ]
implicit none
BEGIN_DOC
! If True, compute integrals on the fly
END_DOC
logical :: has
PROVIDE ezfio_filename
call ezfio_has_Hartree_Fock_DIIS(has)
if (has) then
call ezfio_get_Hartree_Fock_DIIS(do_DIIS)
else
do_DIIS = .False.
endif
END_PROVIDER