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

Minor modification for symmetrically distinct Miller index generation #2949

Merged
merged 3 commits into from
Apr 20, 2023
Merged

Conversation

fyalcin
Copy link
Contributor

@fyalcin fyalcin commented Apr 20, 2023

Closes: #2944

Fix: conv_hkl_list is now sorted with respect to the maximum of the absolute values of the individual Miller indices it contains, before it is iterated over, ensuring that the unique Miller indices returned contain the lowest indices possible.

fyalcin added 3 commits April 20, 2023 11:03
…n asdcending order by the maximum of the absolute values of individual indices. This ensures that low-index surfaces are encountered and added to the list of unique Miller indices first.
@janosh
Copy link
Member

janosh commented Apr 20, 2023

Nicely done and great comments! 👍

@janosh janosh merged commit 516d337 into materialsproject:master Apr 20, 2023
@janosh janosh added the fix Bug fix PRs label Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fix PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Minor modification to symmetrically distinct Miller index finder
2 participants