Adjust sigma threshold (libxc uses the square of this value)

This commit is contained in:
Daniel Mejia-Rodriguez 2022-12-19 16:17:25 -08:00 committed by edoapra
parent b8628e3ea6
commit e906d1556f
No known key found for this signature in database
GPG key ID: 48E12DA1EDE9E1B0

View file

@ -161,7 +161,7 @@
call xc_f03_func_init(xcfunc,libxc_funcs(ifunc),polarized)
call xc_f03_func_set_dens_threshold(xcfunc, tol_rho)
#if XC_MAJOR_VERSION > 4
call xc_f03_func_set_sigma_threshold(xcfunc, tol_rho**2)
call xc_f03_func_set_sigma_threshold(xcfunc, tol_rho)
call xc_f03_func_set_zeta_threshold(xcfunc, 1d-10)
#endif
select case(libxc_family(ifunc))