LVHAR: Difference between revisions

From VASP Wiki
No edit summary
No edit summary
Line 27: Line 27:
----
----


[[Category:INCAR]][[Category:Electronic minimization]]
[[Category:INCAR tag]][[Category:Electronic minimization]]

Revision as of 14:44, 8 April 2022

LVHAR = [logical]
Default: LVHAR = .FALSE. 

Description (for VASP.5.2.12 and higher): The potential [math]\displaystyle{ V_{\text{LOCPOT}}(\mathbf{r}) }[/math] (in eV) written to the LOCPOT file is

[math]\displaystyle{ V_{\text{LOCPOT}}(\mathbf{r}) = V(\mathbf{r}) + \int \frac{n(\mathbf{r'})}{|\mathbf{r}-\mathbf{r'}|}d\mathbf{r'}+ V_{\text{XC}}(\mathbf{r}) }[/math]

where [math]\displaystyle{ V(\mathbf{r}) }[/math] is the ionic potential, the second term is the Hartree potential and [math]\displaystyle{ V_{\text{XC}}(\mathbf{r}) }[/math] is the exchange-correlation potential.

If LVHAR=.TRUE. is set in the INCAR file, the file LOCPOT is written without the [math]\displaystyle{ V_{\text{XC}}(\mathbf{r}) }[/math] contribution being added up. Use LVTOT=.TRUE. to include [math]\displaystyle{ V_{\text{XC}}(\mathbf{r}) }[/math] contribution.


See LOCPOT to find out how to not include the [math]\displaystyle{ V_{\text{XC}}(\mathbf{r}) }[/math] in older versions of VASP.

Examples that use this tag