ELFCAR: Difference between revisions

From VASP Wiki
No edit summary
No edit summary
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.

Revision as of 10:11, 2 July 2019

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.

References


Contents