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

Refactor get_BZ and implement BZ class #106

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

t-reents
Copy link
Collaborator

This PR addresses #104. The get_BZ method is deprecated and a new BZ class is introduced to represent a Brillouin zone.

The data that was returned in the previous version can be accessed via properties, as well as the delaunay and the hull. This is to ensure that the user doesn't manipulate the BZ representation, so that the reciprocal vectors of a BZ instance are always consistent with the other properties.

@t-reents t-reents linked an issue Nov 11, 2024 that may be closed by this pull request
4 tasks
The previous `get_BZ` function was refactored and a class was added to represent a BZ. The faces, triangles, hull and delaunaycan be accessed as properties. This is to avoid that the values are changed by the users. Moreover, a new method was added to check if a point is within the BZ.
@t-reents t-reents force-pushed the imp/move_bz_to_class branch from 0028e8f to b056ae2 Compare December 4, 2024 12:17
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.

Possible improvements to expose internal functionality of BZ sublibrary
1 participant