You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor: Refine ELF Output for Noncollinear Spin (nspin=4) (deepmodeling#6914)
* Fix: Remove the warning for cal_elf in NSPIN=4 case
* Refactor: Update the calculation of ELF for NSPIN=4 case.
* Doc: Update the documentation of out_elf
* Test: Add an integrate test `tests/03_NAO_multik/63_NO_KP_out_elf` for out_elf with NSPIN=4
* Fix: Update the annotation of write_elf
* Fix: Enhance the stability of write_elf for spin=2 case
* Test: update 63_NO_KP_out_elf
* Test: Reduce the cell length of 63_NO_KP_out_elf
-ELF0.cube, ELF1.cube, ELF2.cube, ELF3.cube: ELF for each Pauli matrix component. Component 0 represents the total charge density, while components 1-3 represent the magnetization in x, y, and z directions respectively. Each component is calculated as ${\rm{ELF}}_i = \frac{1}{1+\chi_i^2}$, where $\chi_i = \frac{\tau_i - \tau_{vW,i}}{\tau_{TF,i}}$, with $\tau_i$ being the kinetic energy density, $\tau_{vW,i} = \frac{1}{2}|\nabla\sqrt{\rho_i}|^2$ the von Weizsäcker kinetic energy density, and $\tau_{TF,i} = \frac{3}{10}(3\pi^2)^{2/3}\rho_i^{5/3}$ the Thomas-Fermi kinetic energy density.
2141
+
-elf.cube: ELF for total charge density, ${\rm{ELF}} = \frac{1}{1+\chi^2}$, $\chi = \frac{\frac{1}{2}\sum_{i}{f_i |\nabla\psi_{i}|^2} - \frac{|\nabla\rho|^2}{8\rho}}{\frac{3}{10}(3\pi^2)^{2/3}\rho^{5/3}}$
2142
2142
2143
2143
The second integer controls the precision of the kinetic energy density output, if not given, will use `3` as default. For purpose restarting from this file and other high-precision involved calculation, recommend to use `10`.
0 commit comments