powderday icon indicating copy to clipboard operation
powderday copied to clipboard

update gadget/gizmo front ends to only build from PartType0

Open dnarayanan opened this issue 2 years ago • 2 comments

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 avatar Oct 20 '22 15:10 dnarayanan

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

https://github.com/dnarayanan/powderday/issues/146

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

dnarayanan avatar Oct 20 '22 15:10 dnarayanan

update - this is the magic line:

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

dnarayanan avatar Nov 15 '22 15:11 dnarayanan