Requests for technical support from the VASP group should be posted in the VASP-forum.

# ELFCAR

The ELFCAR file is created when the LELF=.TRUE. in the INCAR file is set and contains the electron localization function denoted by ${\displaystyle ELF}$ 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 ${\displaystyle N_{x},N_{y},N_{z}}$ are written, followed by ${\displaystyle ELF(x,y,z)}$ with ${\displaystyle x}$ being the fastest and ${\displaystyle z}$ the slowest index.
For ISPIN=2, ${\displaystyle ELF_{\uparrow }}$ is written first followed by ${\displaystyle ELF_{\downarrow }}$.