[yt-svn] commit/yt: 3 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Wed May 7 17:44:10 PDT 2014
3 new commits in yt:
https://bitbucket.org/yt_analysis/yt/commits/ff4bdd2c55bf/
Changeset: ff4bdd2c55bf
Branch: yt-3.0
User: MatthewTurk
Date: 2014-05-02 16:14:52
Summary: Switch to right-handed cartesian coordinates.
Affected #: 1 file
diff -r 8afbcadd70e3649e77886a9b29c3886f2969b22f -r ff4bdd2c55bfddb978e1194ec538e5d758e2fe2f 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):
https://bitbucket.org/yt_analysis/yt/commits/a0c4d8e2dc22/
Changeset: a0c4d8e2dc22
Branch: yt-3.0
User: MatthewTurk
Date: 2014-05-08 02:33:35
Summary: Fixing the x/y axis calculations for ortho_ray tests.
Affected #: 1 file
diff -r ff4bdd2c55bfddb978e1194ec538e5d758e2fe2f -r a0c4d8e2dc2286bbde3b7a5fccfea58799cff514 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()
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