Skip to content

Conversation

@mohanchen
Copy link
Collaborator

Keep updating the output formats of ABACUS

@mohanchen mohanchen added Input&Output Suitable for coders without knowing too many DFT details The Absolute Zero Reduce the "entropy" of the code to 0 labels Mar 26, 2025
@mohanchen mohanchen requested a review from YuLiu98 March 26, 2025 07:33

// print total stress
ModuleIO::print_stress("TOTAL-STRESS", scs, true, ry);
bool screen = false;
Copy link
Collaborator

Choose a reason for hiding this comment

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

The original bool para screen should be true.

ofs << " ELECTRONIC PART OF STRESS: " << virial_scalar * unit_transform << " KBAR" << std::endl;
ofs << " IONIC (KINETIC) PART OF STRESS: " << (stress_scalar - virial_scalar) * unit_transform << " KBAR" << std::endl;

// one should use 'print_stress' function in ../source/module_io/output_log.cpp
Copy link
Collaborator

Choose a reason for hiding this comment

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

So why not use print_stress function here?

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 The Absolute Zero Reduce the "entropy" of the code to 0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants