LOCPOT: Difference between revisions
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
must be set in the {{TAG|INCAR}} file. Depending on {{TAG|LVHAR}} the total local | must be set in the {{TAG|INCAR}} file. Depending on {{TAG|LVHAR}} the total local | ||
Kohn-Sham potential ({{TAG|LVHAR}}=.FALSE.) or the sum of the Hartree and ionic potential ({{TAG|LVHAR}}=.FALSE.) is written to the LOCPOT file. | Kohn-Sham potential ({{TAG|LVHAR}}=.FALSE.) or the sum of the Hartree and ionic potential ({{TAG|LVHAR}}=.FALSE.) is written to the LOCPOT file. From VASP.5.2.12 onwards, {{TAG|LVTOT}}=.TRUE. writes the local potential ''including'' the exchange-correlation contribution on {{TAG|LOCPOT}}, since {{TAG|LVHAR}} defaults to .FALSE. | ||
MIND: {{TAG|LVHAR}} was added at some point in vasp.5.1.12, please check whether your version supports this tag (the tag is written out at the beginning of the OUTCAR file). | |||
supports this tag (the tag is written out at the beginning of the OUTCAR file). | |||
Versions not supporting {{TAG|LVHAR}} might write either the total Kohn-Sham potential or the electrostatic potential. Please check main.F by searching for ''LEXCHG=-1'' in main.F. If the line ''LEXCHG=-1'' is commented out, the exchange-correlation potential is added, whereas if the line is present, only the electrostatic potential is written to the file. | Versions not supporting {{TAG|LVHAR}} might write either the total Kohn-Sham potential or the electrostatic potential. Please check main.F by searching for ''LEXCHG=-1'' in main.F. If the line ''LEXCHG=-1'' is commented out, the exchange-correlation potential is added, whereas if the line is present, only the electrostatic potential is written to the file. | ||
Line 19: | Line 16: | ||
For noncollinear calculations (LNONCOLLINEAR=.TRUE.), it contains four datasets with spinor representation of the potential. | For noncollinear calculations (LNONCOLLINEAR=.TRUE.), it contains four datasets with spinor representation of the potential. | ||
---- | ---- | ||
[[Category:Files]][[Category:Output Files]] | [[Category:Files]][[Category:Output Files]] |
Revision as of 15:50, 20 January 2021
The LOCPOT file stores the local potential (in eV).
To write this file, the line
LVTOT = .TRUE.
must be set in the INCAR file. Depending on LVHAR the total local Kohn-Sham potential (LVHAR=.FALSE.) or the sum of the Hartree and ionic potential (LVHAR=.FALSE.) is written to the LOCPOT file. From VASP.5.2.12 onwards, LVTOT=.TRUE. writes the local potential including the exchange-correlation contribution on LOCPOT, since LVHAR defaults to .FALSE.
MIND: LVHAR was added at some point in vasp.5.1.12, please check whether your version supports this tag (the tag is written out at the beginning of the OUTCAR file). Versions not supporting LVHAR might write either the total Kohn-Sham potential or the electrostatic potential. Please check main.F by searching for LEXCHG=-1 in main.F. If the line LEXCHG=-1 is commented out, the exchange-correlation potential is added, whereas if the line is present, only the electrostatic potential is written to the file.
The LOCPOT file format is similar to that of the CHGCAR file but it does not have the same data arrangement. For spin unpolarized calculations it contains a single dataset with the potential. For collinear spin calculations (ISPIN=2), it contains two datasets: spin up and spin down. For noncollinear calculations (LNONCOLLINEAR=.TRUE.), it contains four datasets with spinor representation of the potential.