Imported Ticket
- Summary: Particle overlay problem with parallel projections
- Component: yt
- Milestone:
- Reporter: dsilvia
- Owner: mturk
- Resolution: None
- Status: new
- Created: 1239128735000000
- Description: Particle overlay is not executed properly when doing parallel projections. Only a fraction of the total particles are plotted. Code errors if a processor doesn't not have any particles to overlay.
Error if processor doesn't have any particles:
Particle bounding box: 0.0 1.0 0.0 1.0 1.5 2.5
Traceback (most recent call last):
Particle px extrema
File "longbox.py", line 13, in <module>
pc.save("DD%4.4d/DD%4.4d" % (i,i))
File "/home/solo/student/brittons/local/x86_64/lib/python2.5/site-packages/yt/raven/PlotCollection.py",
line 80, in save
override=override))
File "/home/solo/student/brittons/local/x86_64/lib/python2.5/site-packages/yt/raven/PlotTypes.py",
line 110, in save_image
self._redraw_image()
File "/home/solo/student/brittons/local/x86_64/lib/python2.5/site-packages/yt/raven/PlotTypes.py",
line 312, in _redraw_image
self._run_callbacks()
File "/home/solo/student/brittons/local/x86_64/lib/python2.5/site-packages/yt/raven/PlotTypes.py",
line 183, in _run_callbacks
cb(self)
File "/home/solo/student/brittons/local/x86_64/lib/python2.5/site-packages/yt/raven/Callbacks.py",
line 177, in call
print "Particle px extrema", particles_x.min(), particles_x.max(),
ValueError: zero-size array to ufunc.reduce without identity