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

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Mon Mar 31 13:49:12 PDT 2014


2 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/61c41a46484d/
Changeset:   61c41a46484d
Branch:      yt-3.0
User:        ngoldbaum
Date:        2014-03-29 00:43:11
Summary:     Ensure grid.dds is a YTArray for the boxlib frontend.
Affected #:  1 file

diff -r b28baf79bb7de836ed03be7c0819644549d566bc -r 61c41a46484dcf4d8c43fb42ad04b6b7a40177a2 yt/frontends/boxlib/data_structures.py
--- a/yt/frontends/boxlib/data_structures.py
+++ b/yt/frontends/boxlib/data_structures.py
@@ -90,8 +90,7 @@
 
     def _setup_dx(self):
         # has already been read in and stored in index
-        my_ind = self.id - self._id_offset
-        self.dds = self.index.level_dds[self.Level,:]
+        self.dds = self.index.pf.arr(self.index.level_dds[self.Level, :], 'code_length')
         self.field_data['dx'], self.field_data['dy'], self.field_data['dz'] = self.dds
 
     def __repr__(self):


https://bitbucket.org/yt_analysis/yt/commits/b186d0f32552/
Changeset:   b186d0f32552
Branch:      yt-3.0
User:        jzuhone
Date:        2014-03-31 22:49:04
Summary:     Merged in ngoldbaum/yt/yt-3.0 (pull request #779)

Ensure grid.dds is a YTArray for the boxlib frontend.
Affected #:  1 file

diff -r 8b1d9dca449b4c6fd1d4d56a87ca712926dce7fd -r b186d0f32552017f585f691ba9d8413bc01a967d yt/frontends/boxlib/data_structures.py
--- a/yt/frontends/boxlib/data_structures.py
+++ b/yt/frontends/boxlib/data_structures.py
@@ -90,8 +90,7 @@
 
     def _setup_dx(self):
         # has already been read in and stored in index
-        my_ind = self.id - self._id_offset
-        self.dds = self.index.level_dds[self.Level,:]
+        self.dds = self.index.pf.arr(self.index.level_dds[self.Level, :], 'code_length')
         self.field_data['dx'], self.field_data['dy'], self.field_data['dz'] = self.dds
 
     def __repr__(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