[yt-svn] commit/yt: 2 new changesets

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Thu Apr 3 08:25:54 PDT 2014


2 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/c77d7461149c/
Changeset:   c77d7461149c
Branch:      yt-3.0
User:        jzuhone
Date:        2014-04-03 17:13:02
Summary:     Update call to AMRKDTree to get streamlines working
Affected #:  1 file

diff -r 2177f9babc9ef261132a58655cf2564e7223a2db -r c77d7461149ca88a78f27b0f24067e4783c9d2c4 yt/visualization/streamlines.py
--- a/yt/visualization/streamlines.py
+++ b/yt/visualization/streamlines.py
@@ -99,8 +99,10 @@
         self.get_magnitude=get_magnitude
         self.direction = np.sign(direction)
         if volume is None:
-            volume = AMRKDTree(self.pf, fields=[self.xfield,self.yfield,self.zfield],
-                            log_fields=[False,False,False])
+            volume = AMRKDTree(self.pf)
+            volume.set_fields([self.xfield,self.yfield,self.zfield],
+                              [False,False,False],
+                              False)
             volume.join_parallel_trees()
         self.volume = volume
         if dx is None:


https://bitbucket.org/yt_analysis/yt/commits/3312a9b740bc/
Changeset:   3312a9b740bc
Branch:      yt-3.0
User:        samskillman
Date:        2014-04-03 17:25:43
Summary:     Merged in jzuhone/yt-3.x/yt-3.0 (pull request #787)

Update call to AMRKDTree to get streamlines working
Affected #:  1 file

diff -r c47c7659453c1f01297ae8ff8113ab2f29619e79 -r 3312a9b740bc6af61c388f5eabbdd09890475bfb yt/visualization/streamlines.py
--- a/yt/visualization/streamlines.py
+++ b/yt/visualization/streamlines.py
@@ -99,8 +99,10 @@
         self.get_magnitude=get_magnitude
         self.direction = np.sign(direction)
         if volume is None:
-            volume = AMRKDTree(self.pf, fields=[self.xfield,self.yfield,self.zfield],
-                            log_fields=[False,False,False])
+            volume = AMRKDTree(self.pf)
+            volume.set_fields([self.xfield,self.yfield,self.zfield],
+                              [False,False,False],
+                              False)
             volume.join_parallel_trees()
         self.volume = volume
         if dx is None:

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