LIBXC1: Difference between revisions

From VASP Wiki
No edit summary
No edit summary
Line 13: Line 13:
One has to specify also {{TAG|GGA}} = LIBXC for LDA, GGA and GGA-based hybrid functionals or {{TAG|METAGGA}} = LIBXC for meta-GGA functionals (hybrid-based meta-GGA functionals are not yet available in VASP).
One has to specify also {{TAG|GGA}} = LIBXC for LDA, GGA and GGA-based hybrid functionals or {{TAG|METAGGA}} = LIBXC for meta-GGA functionals (hybrid-based meta-GGA functionals are not yet available in VASP).


In addition, many of the functionals implemented in Libxc have parameters that can be modified. This can be done with the tags {{TAG|LIBXC1_Pn}} and {{TAG|LIBXC2_Pn}}, where ''n=''1, 2, ... in {{FILE|INCAR}}.
In addition, many of the functionals implemented in Libxc have parameters that can be modified. This can be done with the tags {{TAG|LIBXC1_Pn}} and {{TAG|LIBXC2_Pn}}, where <math>n=1, 2, ...</math> in {{FILE|INCAR}}.


Examples of how to specify a Libxc functional in {{FILE|INCAR}} are given below for the GGA PBE{{cite|perdew:prl:1996}}, meta-GGA SCAN{{cite|sun:prl:15}} and hybrid PBEh (PBE0){{cite|adamo:jcp:1999}} functionals.
Examples of how to specify a Libxc functional in {{FILE|INCAR}} are given below for the GGA PBE{{cite|perdew:prl:1996}}, meta-GGA SCAN{{cite|sun:prl:15}} and hybrid PBEh (PBE0){{cite|adamo:jcp:1999}} functionals.

Revision as of 14:10, 5 January 2022

LIBXC1 = [integer] or [string] 

Description: LIBXC1 and LIBXC2 specify the functionals from the library of exchange-correlation functionals Libxc [1][2] that one wants to use.


LIBXC1 and LIBXC2 can be either integers or strings. The available functionals are listed on the Libxc website[3] along with their associated tag and number (e.g., GGA_X_PBE and 101 for PBE exchange). The tag indicates if this is an exchange (X), correlation (C) or exchange-correlation (XC) functional, and to which family it belongs to, namely LDA (LDA or HYB_LDA), GGA (GGA or HYB_GGA) or meta-GGA (MGGA or HYB_MGGA).

The possibilities for LIBXC1 and LIBXC2 are the following:

  • Both LIBXC1  and LIBXC2 are specified and correspond to the exchange and correlation functionals, respectively, or vice versa.
  • Only LIBXC1  (or LIBXC2) is specified and corresponds to an exchange or exchange-correlation functional. It can also be a correlation functional, but such a calculation without exchange would not make sense.

One has to specify also GGA = LIBXC for LDA, GGA and GGA-based hybrid functionals or METAGGA = LIBXC for meta-GGA functionals (hybrid-based meta-GGA functionals are not yet available in VASP).

In addition, many of the functionals implemented in Libxc have parameters that can be modified. This can be done with the tags LIBXC1_Pn and LIBXC2_Pn, where in INCAR.

Examples of how to specify a Libxc functional in INCAR are given below for the GGA PBE[4], meta-GGA SCAN[5] and hybrid PBEh (PBE0)[6] functionals.

  • PBE
GGA = LIBXC
LIBXC1 = 101
LIBXC2 = 130

or

GGA = LIBXC
LIBXC1 = GGA_X_PBE
LIBXC2 = GGA_C_PBE
  • SCAN
METAGGA = LIBXC
LIBXC1 = 263
LIBXC2 = 267

or

METAGGA = LIBXC
LIBXC1 = MGGA_X_SCAN
LIBXC2 = MGGA_C_SCAN
  • PBEh (PBE0)
LHFCALC = .TRUE.
AEXX = 0.25
GGA = LIBXC
LIBXC1 = 406

or

LHFCALC = .TRUE.
AEXX = 0.25
GGA = LIBXC
LIBXC1 = HYB_GGA_XC_PBEH

Related Tags and Sections

AGGAX, AGGAC, ALDAC, LHFCALC, hybrid functionals, settings for specific hybrid functionals

Examples that use this tag