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

Lattice symmetries #954

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Lattice symmetries #954

wants to merge 1 commit into from

Conversation

epolack
Copy link
Collaborator

@epolack epolack commented Feb 2, 2024

PR to work on being able to reproduce Abinit default symmetries behaviour.
Should not be much to do code-wise, but lots of work to check that this is indeed what is done in Abinit + update the doc to explain.

@epolack epolack linked an issue Feb 2, 2024 that may be closed by this pull request
@epolack epolack force-pushed the pwsym branch 3 times, most recently from 3602553 to 61bb6a5 Compare February 5, 2024 10:55
# If this is true, the symmetries are a property of the complete discretized model.
# Therefore, all quantities should be symmetric to machine precision
symmetries_respect_rgrid::Bool
# Whether the symmetry operations leave the basis invariant. Otherwise the symmetry
# operations will leave the lattice invariant.
symmetries_respect_basis::Bool
Copy link
Member

Choose a reason for hiding this comment

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

This is just a very confusing name. Should rather be respect_BZ or respect_kgrid, no ?

Also the boolean flags maybe go out of hand here. Maybe it's better to have a separate struct that collect the symmetry properties (preserves lattice, preserves kgrid, preserves structure, etc.). That might also make it easier for users to specify cases where exactly one symmetry is broken (e.g. along a displacement vector). Just a thought. Feel free to discard it if this is too much work.

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.

Document symmetries differences wrt other codes
2 participants