[yt-svn] commit/yt: MatthewTurk: Merged in MatthewTurk/yt/yt-3.0 (pull request #864)
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Wed May 7 17:44:11 PDT 2014
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/commits/b6bbd6601ea3/
Changeset: b6bbd6601ea3
Branch: yt-3.0
User: MatthewTurk
Date: 2014-05-08 02:44:00
Summary: Merged in MatthewTurk/yt/yt-3.0 (pull request #864)
Switch to right-handed cartesian coordinates.
Affected #: 2 files
diff -r 6347a1dcd0876cc6ab52ab378fa7708b6d41b653 -r b6bbd6601ea3f3fcdce2568d2383f52fb1876763 yt/data_objects/tests/test_ortho_rays.py
--- a/yt/data_objects/tests/test_ortho_rays.py
+++ b/yt/data_objects/tests/test_ortho_rays.py
@@ -11,8 +11,7 @@
my_oray = pf.ortho_ray(ax, ocoord)
- my_axes = range(3)
- del my_axes[ax]
+ my_axes = pf.coordinates.x_axis[ax], pf.coordinates.y_axis[ax]
# find the cells intersected by the ortho ray
my_all = pf.h.all_data()
diff -r 6347a1dcd0876cc6ab52ab378fa7708b6d41b653 -r b6bbd6601ea3f3fcdce2568d2383f52fb1876763 yt/geometry/cartesian_coordinates.py
--- a/yt/geometry/cartesian_coordinates.py
+++ b/yt/geometry/cartesian_coordinates.py
@@ -110,11 +110,11 @@
axis_id = { 'x' : 0, 'y' : 1, 'z' : 2,
0 : 0, 1 : 1, 2 : 2}
- x_axis = { 'x' : 1, 'y' : 0, 'z' : 0,
- 0 : 1, 1 : 0, 2 : 0}
+ x_axis = { 'x' : 1, 'y' : 2, 'z' : 0,
+ 0 : 1, 1 : 2, 2 : 0}
- y_axis = { 'x' : 2, 'y' : 2, 'z' : 1,
- 0 : 2, 1 : 2, 2 : 1}
+ y_axis = { 'x' : 2, 'y' : 0, 'z' : 1,
+ 0 : 2, 1 : 0, 2 : 1}
@property
def period(self):
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