[yt-svn] commit/yt: 3 new changesets

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Tue Jan 6 15:06:13 PST 2015


3 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/0a198b8482b2/
Changeset:   0a198b8482b2
Branch:      yt
User:        desika
Date:        2015-01-06 15:40:18+00:00
Summary:     Edited the internal_energy units for frontends/sph
Affected #:  1 file

diff -r a0ffb93abdd0a09b675cfa6a5ce582bd1763c39f -r 0a198b8482b26cc63e9bdc4dfab7b9ecfa60a3a1 yt/frontends/sph/fields.py
--- a/yt/frontends/sph/fields.py
+++ b/yt/frontends/sph/fields.py
@@ -29,7 +29,7 @@
         ("Velocity", ("code_velocity", ["particle_velocity"], None)),
         ("Velocities", ("code_velocity", ["particle_velocity"], None)),
         ("ParticleIDs", ("", ["particle_index"], None)),
-        ("InternalEnergy", ("", ["thermal_energy"], None)),
+        ("InternalEnergy", ("particle_velocity**2", ["thermal_energy"], None)),
         ("SmoothingLength", ("code_length", ["smoothing_length"], None)),
         ("Density", ("code_mass / code_length**3", ["density"], None)),
         ("MaximumTemperature", ("K", [], None)),


https://bitbucket.org/yt_analysis/yt/commits/6b5a450fdff4/
Changeset:   6b5a450fdff4
Branch:      yt
User:        desika
Date:        2015-01-06 21:27:19+00:00
Summary:     changed particle_velocity-->code_velocity in frontends/sph internal_energy
Affected #:  1 file

diff -r 0a198b8482b26cc63e9bdc4dfab7b9ecfa60a3a1 -r 6b5a450fdff499ef3091d2c2286feb513ee92211 yt/frontends/sph/fields.py
--- a/yt/frontends/sph/fields.py
+++ b/yt/frontends/sph/fields.py
@@ -29,7 +29,7 @@
         ("Velocity", ("code_velocity", ["particle_velocity"], None)),
         ("Velocities", ("code_velocity", ["particle_velocity"], None)),
         ("ParticleIDs", ("", ["particle_index"], None)),
-        ("InternalEnergy", ("particle_velocity**2", ["thermal_energy"], None)),
+        ("InternalEnergy", ("code_velocity**2", ["thermal_energy"], None)),
         ("SmoothingLength", ("code_length", ["smoothing_length"], None)),
         ("Density", ("code_mass / code_length**3", ["density"], None)),
         ("MaximumTemperature", ("K", [], None)),


https://bitbucket.org/yt_analysis/yt/commits/a6e653dcc211/
Changeset:   a6e653dcc211
Branch:      yt
User:        desika
Date:        2015-01-06 21:38:44+00:00
Summary:     fixed particle_velocity**2-->code_velocity**2 in frontends/sph/fields.py
Affected #:  1 file

diff -r 6b5a450fdff499ef3091d2c2286feb513ee92211 -r a6e653dcc211d19eccbda71956e29a0ca71d764f yt/frontends/sph/fields.py
--- a/yt/frontends/sph/fields.py
+++ b/yt/frontends/sph/fields.py
@@ -29,7 +29,7 @@
         ("Velocity", ("code_velocity", ["particle_velocity"], None)),
         ("Velocities", ("code_velocity", ["particle_velocity"], None)),
         ("ParticleIDs", ("", ["particle_index"], None)),
-        ("InternalEnergy", ("code_velocity**2", ["thermal_energy"], None)),
+        ("InternalEnergy", ("code_velocity ** 2", ["thermal_energy"], None)),
         ("SmoothingLength", ("code_length", ["smoothing_length"], None)),
         ("Density", ("code_mass / code_length**3", ["density"], None)),
         ("MaximumTemperature", ("K", [], None)),

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