[yt-dev] Issue #1170: Particle deposition for datasets without particle mass (yt_analysis/yt)
Yi-Hao Chen
issues-reply at bitbucket.org
Tue Feb 9 12:35:05 PST 2016
New issue 1170: Particle deposition for datasets without particle mass
https://bitbucket.org/yt_analysis/yt/issues/1170/particle-deposition-for-datasets-without
Yi-Hao Chen:
Currently most of the particle deposition fields require the existence of "particle_mass" to be used as a weighting field. However, some simulations do not have "particle_mass" in the particle data. For example, the passive particles in FLASH do not have masses. Adding deposited fields by calling ```add_deposited_particle_field``` for those datasets will raise ```YTFieldNotFound``` error.
I think it would be better to use an uniform weighting field (particle_ones) for those datasets without "particle_mass". Or make the weighting field an argument that users can pass into the deposition functions.
More information about the yt-dev
mailing list