Describe the bug
The outputed ELF.cube may contain many NaNs in vacuum, and cannot be properly visualized by VESTA.
The following files are my calculation on single-layer CrCl3.
CrCl3-AFM-LTSv3.10.tar.gz
CrCl3-AFM-3.9.0.13.tar.gz
Expected behavior
ELF.cube contains no NaN
To Reproduce
No response
Environment
No response
Additional Context
No response
Task list for Issue attackers (only for developers)