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

Adding get_prop_with_grid_subset_index and overloaded \in #12

Merged
merged 2 commits into from
Sep 30, 2023

Conversation

anchal-physics
Copy link
Collaborator

Encapsulated get_prop_with_grid_subset_index to get a utility to select the correct vector element in a vector of properties like electrons.density.
Also overloaded \in to get simple tests like (r, z) \in (subset, space) to be read as "is point (r, z) inside subset of space"

@anchal-physics anchal-physics merged commit a547c3d into dev Sep 30, 2023
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