Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: output T(k) #4982

Merged
merged 3 commits into from
Aug 24, 2024
Merged

Feature: output T(k) #4982

merged 3 commits into from
Aug 24, 2024

Conversation

jinzx10
Copy link
Collaborator

@jinzx10 jinzx10 commented Aug 22, 2024

Reminder

  • Have you linked an issue with this pull request?
  • Have you added adequate unit tests and/or case tests for your pull request?
  • Have you noticed possible changes of behavior below or in the linked issue?
  • Have you explained the changes of codes in core modules of ESolver, HSolver, ElecState, Hamilt, Operator or Psi? (ignore if not applicable)

Linked Issue

Fix #4963

What's changed?

This PR enables users to specify "out_mat_tk 1 [precision]" in INPUT to output the kinetic matrix T(k) at the end of scf calculations. The behavior is pretty much the same as that of "out_mat_hs", except that the output in the case of nspin = 2 will not be duplicated because spin-up and down orbitals always have the same kinetic matrix.

@mohanchen mohanchen requested a review from YuLiu98 August 23, 2024 12:56
@mohanchen mohanchen added the Input&Output Suitable for coders without knowing too many DFT details label Aug 23, 2024
@mohanchen mohanchen merged commit 2890890 into deepmodeling:develop Aug 24, 2024
14 checks passed
@jinzx10 jinzx10 deleted the out_mat_tk branch August 26, 2024 06:31
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Output the kinetic energy matrix T(k)
3 participants