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

Come up with a more clear syntax of particle slicing #3369

Closed
RudolfWeeber opened this issue Dec 9, 2019 · 1 comment
Closed

Come up with a more clear syntax of particle slicing #3369

RudolfWeeber opened this issue Dec 9, 2019 · 1 comment

Comments

@RudolfWeeber
Copy link
Contributor

It should probably be made clear by the syntax of
system.part[]
that ranges refer to particle ids, not indicies in a (probably sorted ascending) list of existing particle ids.
E.g.,
system.part[min_id=0, max_id=20]
system.part[min_id=5]

@jngrad
Copy link
Member

jngrad commented Jan 24, 2022

The []-operator was removed by #4402. Closing.

@jngrad jngrad closed this as completed Jan 24, 2022
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

No branches or pull requests

2 participants