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

QuasiHarmonic: Fix strain #224

Merged
merged 10 commits into from
Mar 18, 2024
Merged

QuasiHarmonic: Fix strain #224

merged 10 commits into from
Mar 18, 2024

Conversation

jan-janssen
Copy link
Member

Previously, the strain was applied on the repeated structure. This was implemented to evaluate the same supercell for energy calculation as well as the force calculation. In the new version the strain is applied before the structure is rescaled.

Previously, the strain was applied on the repeated structure. This was implemented to evaluate the same supercell for energy calculation as well as the force calculation. In the new version the strain is applied before the structure is rescaled.
@jan-janssen jan-janssen requested a review from liamhuber March 15, 2024 18:13
@jan-janssen jan-janssen added the format_black Launch the pyiron/actions black formatting routine label Mar 16, 2024
Copy link
Member

@liamhuber liamhuber left a comment

Choose a reason for hiding this comment

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

I'm trusting in the unit tests that the underlying math has not been altered, but after that I agree this improves readability. A couple more suggestions for further improvement.

atomistics/workflows/evcurve/workflow.py Show resolved Hide resolved
atomistics/workflows/evcurve/workflow.py Show resolved Hide resolved
tests/test_quasiharmonic_lammps.py Show resolved Hide resolved
@jan-janssen jan-janssen merged commit aa3db9a into main Mar 18, 2024
19 of 20 checks passed
@jan-janssen jan-janssen deleted the qh_rescale_fix branch March 18, 2024 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
format_black Launch the pyiron/actions black formatting routine
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants