[Yt-svn] commit/yt: MatthewTurk: Fixing units for ThermalEnergy.

Bitbucket commits-noreply at bitbucket.org
Mon May 16 13:30:31 PDT 2011


1 new changeset in yt:

http://bitbucket.org/yt_analysis/yt/changeset/5cace787ae7d/
changeset:   r4257:5cace787ae7d
branch:      yt
user:        MatthewTurk
date:        2011-05-16 22:28:35
summary:     Fixing units for ThermalEnergy.
affected #:  1 file (3 bytes)

--- a/yt/frontends/enzo/fields.py	Mon May 16 14:44:48 2011 -0400
+++ b/yt/frontends/enzo/fields.py	Mon May 16 16:28:35 2011 -0400
@@ -135,7 +135,7 @@
                  + data["y-velocity"]**2.0
                  + data["z-velocity"]**2.0 )
 add_field("ThermalEnergy", function=_ThermalEnergy,
-          units=r"\rm{ergs}/\rm{cm^3}")
+          units=r"\rm{ergs}/\rm{g}")
 
 def _KineticEnergy(field, data):
     return 0.5*data["Density"] * ( data["x-velocity"]**2.0

Repository URL: https://bitbucket.org/yt_analysis/yt/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the yt-svn mailing list