-
Notifications
You must be signed in to change notification settings - Fork 8
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
Enable frozen points for boundaries #160
Conversation
@abisner tests added, mistakes fixed, and multiple sets of particles now possible |
91d1a08
to
1a907b1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tried to give it another pretty thorough pass. Just a few minor suggestions/fixes is all. One big takeaway in createParticles()
is that the localOffset should always be updated to the final resized size, whereas the frozenOffset can sometimes be updated to "point" to the same localOffset.
1a907b1
to
ffa234c
Compare
Clarify offsets vs number of frozen/local/ghost and add member functions
ffa234c
to
9cb643c
Compare
Reverted the change from offset->num for frozen. I agree that in most cases that's what we want to use. Will merge when pipelines pass |
Also adds particle class methods for owned, ghost, and global sizes (separate commit)