ExpHP / rsp2

phonons in rust
Apache License 2.0
2 stars 1 forks source link

compute_stars: input deperms violate the group axioms #77

Open ExpHP opened 6 years ago

ExpHP commented 6 years ago

Pulling this remark out from here: https://github.com/ExpHP/rsp2/issues/64#issuecomment-416758760

To the best of my knowledge at the time I ran into this, I figured this should be completely impossible; compute_deperms should not be capable of returning inconsistent permutations (IIRC the current implementation is even paranoid about supercells). But it happened, so I must be mistaken about something! :stuck_out_tongue:

(Unless... maybe it could happen if two atoms somehow ended up right on top of each other? I'm not sure what it would do in that case. I'd have to look over the code again)

ExpHP commented 6 years ago

Turns out the structure in question was using the conventional cell of a BCC solid. rsp2 is currently only designed to support primitive cells as input, so the main issue was that the sparse diagonalizer was not bailing out on supercells like the phonopy diagonalizer does.