[yt-users] total mass

Chang-Goo Kim cgkim at astro.princeton.edu
Tue May 6 10:50:47 PDT 2014


Hi all again,

I tried to find mass fraction of each temperature component, but I got
inconsistent results as below:

==

dd=pf.all_data()



hot=dd.cut_region(["obj['temperature'] >= 1.e4"])

wnm=dd.cut_region(["obj['temperature'] < 1.e4"])



print dd.quantities.total_mass()

print wnm.quantities.total_mass()+hot.quantities.total_mass()



2.88677799841e+38 g
2.91575727709e+38 g

==

I can't understand why those two are different. Have any idea?

Chang-Goo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140506/af8dceb3/attachment.htm>


More information about the yt-users mailing list