[yt-svn] commit/yt-3.0: MatthewTurk: Fixing theta definition
Bitbucket
commits-noreply at bitbucket.org
Tue Aug 21 11:15:17 PDT 2012
1 new commit in yt-3.0:
https://bitbucket.org/yt_analysis/yt-3.0/changeset/030d84e44e46/
changeset: 030d84e44e46
branch: yt-3.0
user: MatthewTurk
date: 2012-08-21 20:14:55
summary: Fixing theta definition
affected #: 1 file
diff -r 9c57c940f2fc9106d26ccbf751e7f49589564d75 -r 030d84e44e46b08358d4fb513a561e5c36b00fed yt/frontends/flash/fields.py
--- a/yt/frontends/flash/fields.py
+++ b/yt/frontends/flash/fields.py
@@ -303,7 +303,7 @@
return (na.ones(data.ActiveDimensions, dtype='float64')
* na.arange(data.ActiveDimensions[2])[None,:,None]
+0.5) * data['dtheta'] + data.LeftEdge[2]
-add_cyl_field('z', function=_coordZ, display_field=False,
+add_cyl_field('theta', function=_coordTheta, display_field=False,
validators=[ValidateSpatial(0)])
def _CylindricalVolume(field, data):
Repository URL: https://bitbucket.org/yt_analysis/yt-3.0/
--
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