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

update gadget/gizmo front ends to only build from PartType0 #204

Open
dnarayanan opened this issue Oct 20, 2022 · 2 comments
Open

update gadget/gizmo front ends to only build from PartType0 #204

dnarayanan opened this issue Oct 20, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@dnarayanan
Copy link
Owner

notes in yt slack:

YTOctree(left_edge=None, right_edge=None, n_ref=32, ptypes=None, ds=None, field_parameters=None)

where:

 |  ptypes: list
 |      This is the type of particles to include when building the tree. This
 |      will default to all particles.
@dnarayanan dnarayanan self-assigned this Oct 20, 2022
@dnarayanan dnarayanan added the enhancement New feature or request label Oct 20, 2022
@dnarayanan
Copy link
Owner Author

based on conversations with @aussing and tied to this issue:

#146

this will hopefully dramatically reduce the computation time for very large datasets

@dnarayanan
Copy link
Owner Author

update - this is the magic line:

octree = ds.octree(left_edge = None, right_edge =None, ptypes=['PartType0'])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant