[yt-svn] commit/yt: 3 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Mon Jul 1 07:01:40 PDT 2013
3 new commits in yt:
https://bitbucket.org/yt_analysis/yt/commits/41f2f18daf7c/
Changeset: 41f2f18daf7c
Branch: yt
User: MatthewTurk
Date: 2013-06-29 21:26:17
Summary: This fixes FLASH current redshift, which is not up-to-date until the second
timestep.
Affected #: 1 file
diff -r 8e8bd5b353df99c1510058a7c982329e5212fcfe -r 41f2f18daf7ccef2a83ca7390c8fe1e3b9288b46 yt/frontends/flash/data_structures.py
--- a/yt/frontends/flash/data_structures.py
+++ b/yt/frontends/flash/data_structures.py
@@ -458,7 +458,7 @@
try:
self.parameters["usecosmology"]
self.cosmological_simulation = 1
- self.current_redshift = self.parameters['redshift']
+ self.current_redshift = 1.0/(self.parameters['scalefactor'] - 1.0)
self.omega_lambda = self.parameters['cosmologicalconstant']
self.omega_matter = self.parameters['omegamatter']
self.hubble_constant = self.parameters['hubbleconstant']
https://bitbucket.org/yt_analysis/yt/commits/d26d6767486f/
Changeset: d26d6767486f
Branch: yt
User: MatthewTurk
Date: 2013-06-29 21:38:37
Summary: Oops, parenthesis were in the wrong place!
Affected #: 1 file
diff -r 41f2f18daf7ccef2a83ca7390c8fe1e3b9288b46 -r d26d6767486fe30d79f741538b79a8db6835205f yt/frontends/flash/data_structures.py
--- a/yt/frontends/flash/data_structures.py
+++ b/yt/frontends/flash/data_structures.py
@@ -458,7 +458,7 @@
try:
self.parameters["usecosmology"]
self.cosmological_simulation = 1
- self.current_redshift = 1.0/(self.parameters['scalefactor'] - 1.0)
+ self.current_redshift = 1.0/self.parameters['scalefactor'] - 1.0
self.omega_lambda = self.parameters['cosmologicalconstant']
self.omega_matter = self.parameters['omegamatter']
self.hubble_constant = self.parameters['hubbleconstant']
https://bitbucket.org/yt_analysis/yt/commits/74891da30e86/
Changeset: 74891da30e86
Branch: yt
User: MatthewTurk
Date: 2013-07-01 16:01:36
Summary: Merged in MatthewTurk/yt (pull request #537)
This fixes FLASH current redshift
Affected #: 1 file
diff -r a5f16d327d7e784257019a85bad89437f85ef74d -r 74891da30e86ad33ecad7614e1e10e832ff9bab2 yt/frontends/flash/data_structures.py
--- a/yt/frontends/flash/data_structures.py
+++ b/yt/frontends/flash/data_structures.py
@@ -458,7 +458,7 @@
try:
self.parameters["usecosmology"]
self.cosmological_simulation = 1
- self.current_redshift = self.parameters['redshift']
+ self.current_redshift = 1.0/self.parameters['scalefactor'] - 1.0
self.omega_lambda = self.parameters['cosmologicalconstant']
self.omega_matter = self.parameters['omegamatter']
self.hubble_constant = self.parameters['hubbleconstant']
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