Skip to content

add a small threshold (e.g., 1.0e-15) when writing occupation numbers#7257

Merged
mohanchen merged 1 commit intodeepmodeling:developfrom
mohanchen:20260419-eig-occ
Apr 19, 2026
Merged

add a small threshold (e.g., 1.0e-15) when writing occupation numbers#7257
mohanchen merged 1 commit intodeepmodeling:developfrom
mohanchen:20260419-eig-occ

Conversation

@mohanchen
Copy link
Copy Markdown
Collaborator

Fix #7243

… to eig_occ.txt. For example, if occupation < 1e-15, print 0.0 instead of the tiny numerical value.
@mohanchen mohanchen added Input&Output Suitable for coders without knowing too many DFT details Refactor Refactor ABACUS codes labels Apr 19, 2026
@mohanchen mohanchen merged commit 8368c62 into deepmodeling:develop Apr 19, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Input&Output Suitable for coders without knowing too many DFT details Refactor Refactor ABACUS codes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

eig_occ.txt: Occupation numbers below 1e-15 should be printed as 0 instead of tiny values (machine precision noise)

2 participants