[yt-svn] commit/yt: mzingale: wrong units for Castro's momentum

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Tue Jul 22 21:51:59 PDT 2014


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/6521bd42b10d/
Changeset:   6521bd42b10d
Branch:      yt-3.0
User:        mzingale
Date:        2014-07-23 06:02:00
Summary:     wrong units for Castro's momentum
Affected #:  1 file

diff -r de81cc292ae118cfc878c8cb35c7701ba8c32981 -r 6521bd42b10d93b208a4b64144216f855f386f84 yt/frontends/boxlib/fields.py
--- a/yt/frontends/boxlib/fields.py
+++ b/yt/frontends/boxlib/fields.py
@@ -114,9 +114,9 @@
 
     known_other_fields = (
         ("density", ("g/cm**3", ["density"], r"\rho")),
-        ("xmom", ("g*cm/s", ["momentum_x"], r"\rho u")),
-        ("ymom", ("g*cm/s", ["momentum_y"], r"\rho v")),
-        ("zmom", ("g*cm/s", ["momentum_z"], r"\rho w")),
+        ("xmom", ("g/(cm**2 * s)", ["momentum_x"], r"\rho u")),
+        ("ymom", ("g/(cm**2 * s)", ["momentum_y"], r"\rho v")),
+        ("zmom", ("g/(cm**2 * s)", ["momentum_z"], r"\rho w")),
         # velocity components are not always present
         ("x_velocity", ("cm/s", ["velocity_x"], r"u")),
         ("y_velocity", ("cm/s", ["velocity_y"], r"v")),

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