Commit 8368c62
add a small threshold (e.g., 1.0e-15) when writing occupation numbers to eig_occ.txt. For example, if occupation < 1e-15, print 0.0 instead of the tiny numerical value. (#7257)
Co-authored-by: abacus_fixer <mohanchen@pku.eud.cn>1 parent 9273888 commit 8368c62
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
265 | 270 | | |
266 | | - | |
| 271 | + | |
267 | 272 | | |
268 | 273 | | |
269 | 274 | | |
| |||
0 commit comments