Queries about input and output files, running specific calculations, etc.
Moderators: Global Moderator, Moderator
-
rolando_saniz1
- Newbie

- Posts: 11
- Joined: Tue Nov 12, 2019 11:28 am
#1
Post
by rolando_saniz1 » Fri Jan 31, 2025 4:46 pm
Dear all,
The potential in the LOCPOT file is given in eV, according to VASP Wiki, so it's an energy that is given. But the expression given in wiki/index.php/LVTOT is really a potential. So I guess that what is given in LOCPOT is actually the potential as in wiki/index.php/LVTOT, but multiplied by -e (i.e., the electron charge), so it is the potential energy of an electron.
The values in LOCPOT are typically negative, which can be expected because the electron is in an attractive potential. The potential would be repulsive for a positive charge.
Is the above reasoning correct?
Best regards
RS
-
alexey.tal
- Global Moderator

- Posts: 391
- Joined: Mon Sep 13, 2021 12:45 pm
#2
Post
by alexey.tal » Wed Feb 05, 2025 4:03 pm
Dear RS,
Thank you for your question.
Your reasoning is correct. Indeed, the quantity which is written out to LOCPOT is the potential energy of an electron and for a positive charge it would be a repulsive potential.
Best wishes,
Alexey
-
rolando_saniz1
- Newbie

- Posts: 11
- Joined: Tue Nov 12, 2019 11:28 am
#3
Post
by rolando_saniz1 » Mon Feb 10, 2025 12:44 pm
Dear Alexey,
Thanks for your reply.
I would have just one more question.
Setting LVTOT=.TRUE. one gets the total local potential in the LOCPOT, including exchange and correlation contributions. I am running calculations with a nonlocal vdW-DF functional. Now the van der Waals interaction is a correlation interaction. So I guess it's contribution is included in the LOCPOT. Is this correct? can you confirm this please?
Thanks for your time!
Rolando
-
alexey.tal
- Global Moderator

- Posts: 391
- Joined: Mon Sep 13, 2021 12:45 pm
#4
Post
by alexey.tal » Mon Feb 10, 2025 2:25 pm
That's correct. The contribution due to a van der Waals functional is also included in the LOCPOT if LVTOT=.TRUE..