LOCPOT

From VASP Wiki
Revision as of 05:39, 7 April 2021 by Karsai (talk | contribs)

The LOCPOT file stores the local potential (in eV) given by:

where is the ionic potential, the second term is the Hartree potential and is the exchange-correlation potential.

To write this file, LVTOT=.TRUE. or LVHAR=.TRUE. must be set in the INCAR file. If LVHAR=.TRUE. the is not included in .

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.

Note for versions older than vasp.5.1.12: please check whether your version supports this tag (it is written out at the beginning of the OUTCAR file). Versions not supporting LVHAR might or not add . Please check this by searching for LEXCHG=-1 in main.F. If the line LEXCHG=-1 is commented out is added otherwise it is not.