Skip to content

Should ElecState::print_etot function called only after SCF converge ? #5354

@QuantumMisaka

Description

@QuantumMisaka

Describe the bug

As the screenshot, this function will be called not only in SCF convergence but also after number of SCF steps reach 100

Image

print criterion:

Image

Expected behavior

This information should only be called after SCF converge

To Reproduce

perform SCF calculation which can last more than 100 steps

Environment

ABACUS 3.8.1 (newest now)
intel toolchain

Additional Context

No response

Task list for Issue attackers (only for developers)

  • Verify the issue is not a duplicate.
  • Describe the bug.
  • Steps to reproduce.
  • Expected behavior.
  • Error message.
  • Environment details.
  • Additional context.
  • Assign a priority level (low, medium, high, urgent).
  • Assign the issue to a team member.
  • Label the issue with relevant tags.
  • Identify possible related issues.
  • Create a unit test or automated test to reproduce the bug (if applicable).
  • Fix the bug.
  • Test the fix.
  • Update documentation (if necessary).
  • Close the issue and inform the reporter (if applicable).

Metadata

Metadata

Labels

QuestionsRaise your quesiton! We will answer it.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions