[yt-svn] commit/yt: BW Keller: The default value for bComove in Tipsy parameter files

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Sun Mar 23 13:18:23 PDT 2014


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/435069baaceb/
Changeset:   435069baaceb
Branch:      yt-3.0
User:        BW Keller
Date:        2014-03-23 21:12:19
Summary:     The default value for bComove in Tipsy parameter files
should be False.  This is the default value for gasoline and pkdgrav.
Affected #:  1 file

diff -r e53ed159da4c5c808f6196d79f603fe9c918072b -r 435069baaceba8e44ea666d4924f3ac28cadba45 yt/frontends/sph/data_structures.py
--- a/yt/frontends/sph/data_structures.py
+++ b/yt/frontends/sph/data_structures.py
@@ -472,7 +472,7 @@
             print "Often this can be fixed by changing the 'endian' parameter."
             print "This defaults to '>' but may in fact be '<'."
             raise RuntimeError
-        if self.parameters.get('bComove', True):
+        if self.parameters.get('bComove', False):
             self.cosmological_simulation = 1
             cosm = self._cosmology_parameters or {}
             dcosm = dict(current_redshift=0.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