[yt-users] GadgetDataset InternalEnergy Units
Daniel
cunnama at gmail.com
Fri Jul 4 04:18:52 PDT 2014
Hi,
I noticed that the GadgetDataset read does not have units set.
This should be fairly simple fix in the following file:
~/yt-3.0/yt/frontends/sph/fields.py
-Line 58: ("InternalEnergy", ("", ["thermal_energy"], None)),
+Line 58: ("InternalEnergy", ("code_length**2 / code_time**2",
["thermal_energy"], None)),
Kind Regards,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140704/a79cdb91/attachment.htm>
More information about the yt-users
mailing list