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

subtypes of particle types #14

Open
danieljprice opened this issue Nov 8, 2018 · 0 comments
Open

subtypes of particle types #14

danieljprice opened this issue Nov 8, 2018 · 0 comments

Comments

@danieljprice
Copy link
Owner

with multigrain dust output, we need to be able to define particle "sub-types" as child types of a single generic type. Otherwise we end up with potentially hundreds of particle types which make splash unusable.

The idea is to create a single "family", so e.g. type 2 particles are still "dust", but within the dust type there are a bunch of subtypes. Of course this is just a fancy way of accessing particle types 7->n, but means high level operations (like turning all dust on/off) can be done easily.

Could also apply to star particles, e.g. bulge/disc/halo could all be subsets of the "star" particle type.

Implementing this is a bit tricky, but urgently needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant