Skip to content

Fix is_supercell for left-handed input cells - #124

Merged
t-reents merged 2 commits into
materialscloud-org:mainfrom
t-reents:fix/left-handed-is-supercell
Sep 25, 2026
Merged

t-reents merged 2 commits into
materialscloud-org:mainfrom
t-reents:fix/left-handed-is-supercell

Conversation

@t-reents

Copy link
Copy Markdown
Collaborator

No description provided.

Left-handed input cells yield a negative volume ratio (determinant of the transformation matrix) and therefore caused a left-handed primitive cell to be flagged as a supercell. By only considering the magnitude, this problem is solved.
@t-reents
t-reents merged commit 6fa1a3c into materialscloud-org:main Sep 25, 2026
6 checks passed
@t-reents
t-reents deleted the fix/left-handed-is-supercell branch September 25, 2026 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant