ELFCAR: Difference between revisions

From VASP Wiki
No edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
The same file format is used as for the {{TAG|CHGCAR}} file. That is, lattice vectors, atomic coordinates  and number of cartesian sampling points <math>N_x, N_y, N_z</math> are written, followed by <math>ELF(x,y,z)</math> with <math>x</math> being the fastest and <math>z</math> the slowest index.  
The same file format is used as for the {{TAG|CHGCAR}} file. That is, lattice vectors, atomic coordinates  and number of cartesian sampling points <math>N_x, N_y, N_z</math> are written, followed by <math>ELF(x,y,z)</math> with <math>x</math> being the fastest and <math>z</math> the slowest index.  


For {{TAG|ISPIN}}==2, <math>ELF_{\uparrow}</math> is written first followed by <math>ELF_{\downarrow}</math>.
For {{TAG|ISPIN}}=2, <math>ELF_{\uparrow}</math> is written first followed by <math>ELF_{\downarrow}</math>.


It is recommended to avoid wrap around errors, when evaluating the {{TAG|ELFCAR}} file. This can be done by specifying {{TAG|PREC}}=''High'' in the {{TAG|INCAR}} file.
It is recommended to avoid wrap around errors, when evaluating the {{TAG|ELFCAR}} file. This can be done by specifying {{TAG|PREC}}=''High'' in the {{TAG|INCAR}} file.
*N.B. The electronic localization function is not implemented for non-collinear calculations.


== References ==
== References ==
Line 14: Line 16:
----
----


[[The_VASP_Manual|Contents]]
[[Category:Files]][[Category:Output files]]
 
[[Category:Files]][[Category:Output Files]]

Latest revision as of 13:37, 7 March 2025

The ELFCAR file is created when the LELF=.TRUE. in the INCAR file is set and contains the electron localization function denoted by [math]\displaystyle{ ELF }[/math] in Ref. [1].

The same file format is used as for the CHGCAR file. That is, lattice vectors, atomic coordinates and number of cartesian sampling points [math]\displaystyle{ N_x, N_y, N_z }[/math] are written, followed by [math]\displaystyle{ ELF(x,y,z) }[/math] with [math]\displaystyle{ x }[/math] being the fastest and [math]\displaystyle{ z }[/math] the slowest index.

For ISPIN=2, [math]\displaystyle{ ELF_{\uparrow} }[/math] is written first followed by [math]\displaystyle{ ELF_{\downarrow} }[/math].

It is recommended to avoid wrap around errors, when evaluating the ELFCAR file. This can be done by specifying PREC=High in the INCAR file.

  • N.B. The electronic localization function is not implemented for non-collinear calculations.

References