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

bug fix for compute voronoi with triclinic simulation boxes #3702

Merged
merged 1 commit into from Mar 23, 2023

Conversation

sjplimp
Copy link
Contributor

@sjplimp sjplimp commented Mar 23, 2023

Summary

Fix a bug in compute voronoi for triclinic geometries where the bounding box needed for the Voro++ packages to accurately calculate Voronoi volumes in parallel was not accounting for the triclinic tilts in a robust way.

Related Issue(s)

This should fix #3335

Author(s)

Steve, using code change suggested by Joel Clemmer (Sandia)

Licensing

By submitting this pull request, I agree, that my contribution will be included in LAMMPS and redistributed under either the GNU General Public License version 2 (GPL v2) or the GNU Lesser General Public License version 2.1 (LGPL v2.1).

Backward Compatibility

N/A

Implementation Notes

Post Submission Checklist

  • The feature or features in this pull request is complete
  • Licensing information is complete
  • Corresponding author information is complete
  • The source code follows the LAMMPS formatting guidelines
  • Suitable new documentation files and/or updates to the existing docs are included
  • The added/updated documentation is integrated and tested with the documentation build system
  • The feature has been verified to work with the conventional build system
  • The feature has been verified to work with the CMake based build system
  • Suitable tests have been added to the unittest tree.
  • A package specific README file has been included or updated
  • One or more example input decks are included

Further Information, Files, and Links

@sjplimp sjplimp changed the title compute bounding box on Voronoi sub-domain correctly for triclinic ti… bug fix for compute voronoi with triclinic simulation boxes Mar 23, 2023
Copy link
Contributor

@stanmoore1 stanmoore1 left a comment

Choose a reason for hiding this comment

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

I approve

@sjplimp
Copy link
Contributor Author

sjplimp commented Mar 23, 2023

@jtclemm Can you verify this fixes the issue you posted with whatever test problems you have. I think your code alteration is correct, and simply pasted it into compute_voronoi_atom.cpp

@akohlmey akohlmey self-assigned this Mar 23, 2023
@akohlmey akohlmey added this to the Stable Release Summer 2023 milestone Mar 23, 2023
@jtclemm
Copy link
Collaborator

jtclemm commented Mar 23, 2023

@jtclemm Can you verify this fixes the issue you posted with whatever test problems you have. I think your code alteration is correct, and simply pasted it into compute_voronoi_atom.cpp

Thanks Steve, the changes in this branch work with all of the test cases I had.

@akohlmey akohlmey merged commit 92b78d6 into develop Mar 23, 2023
@akohlmey akohlmey deleted the voronoi-tilt-bug branch March 23, 2023 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

[BUG] Incorrect voronoi volumes with negative tilts
4 participants