LVHAR: Difference between revisions

From VASP Wiki
No edit summary
No edit summary
Line 15: Line 15:
<math>V_{\text{XC}}(\mathbf{r})</math> is the exchange-correlation potential.
<math>V_{\text{XC}}(\mathbf{r})</math> is the exchange-correlation potential.


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



Revision as of 10:15, 15 February 2021

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

Description (for VASP.5.2.12 and higher): The potential (in eV) written to the LOCPOT file is

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

If LVHAR=.TRUE. is set in the INCAR file, the file LOCPOT is written without the contribution being added up. Use LVTOT=.TRUE. to include contribution.


See LOCPOT to find out how to not include the in older versions of VASP.

Examples that use this tag