fix: defines few internal parameters compatibility with older libxc versions

we still need to protect not implemented dft short term names
This commit is contained in:
Pietro Davide Delugas 2024-08-06 17:36:19 +02:00
parent 9f86babdc3
commit 7f9a7642ea
1 changed files with 3 additions and 0 deletions

View File

@ -30,6 +30,9 @@ MODULE dft_setting_routines
xclib_finalize_libxc
PUBLIC :: set_libxc_ext_param, get_libxc_ext_param
PUBLIC :: capital
#if (__LIBXC && XC_MAJOR_VERSION < 5)
INTEGER,PARAMETER :: XC_FAMILY_HYB_LDA=-1, XC_FAMILY_HYB_GGA=-1, XC_FAMILY_HYB_MGGA=-1
#endif
!
CONTAINS
!