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: add the output of E_KS(sigma->0) #2571

Merged
merged 32 commits into from
Jun 4, 2023

Conversation

Chentao168
Copy link
Collaborator

@Chentao168 Chentao168 commented May 31, 2023

  1. Add the output of E_KS(sigma->0), which is the same as energy(sigma->0) in the VASP.
    image
    image
    Here, I calculate E_KS(sig->0) = (this->f_en.etot - this->f_en.demet/(2+n_order)) .
    I find n_order = std::max(0, Occupy::gaussian_type).
    The following pictures are the related codes from VASP:
    image
    image
  2. Rename E_demet to E_entropy(-TS).
  3. Change setw(12) to setw(16) for allowing to show the E_KS(sigma->0) and E_entropy(-TS).

@wenfei-li
Copy link

how does the content of the pr relate to the title? I only saw change in E_entropy not E_KS(sig->0)

Copy link

@hongriTianqi hongriTianqi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add necessary explanation for your pr

@Chentao168 Chentao168 changed the title Feature: add the output of E_KS(sig->0) Feature: add the output of E_KS(sigma->0) Jun 2, 2023
@mohanchen mohanchen merged commit 4261c15 into deepmodeling:develop Jun 4, 2023
@pxlxingliang pxlxingliang linked an issue Jun 8, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add print of scf-calculated energy(sigma->0)
6 participants