[Yt-svn] commit/yt: MatthewTurk: get_periodic_box_grids seems to be working, so this command -- which was
Bitbucket
commits-noreply at bitbucket.org
Thu Aug 25 05:07:17 PDT 2011
1 new changeset in yt:
http://bitbucket.org/yt_analysis/yt/changeset/3fccef790a63/
changeset: 3fccef790a63
branch: yt
user: MatthewTurk
date: 2011-08-25 14:06:53
summary: get_periodic_box_grids seems to be working, so this command -- which was
causing some simulations to grind unncessarily in getting data from edge grids
-- is no longer necessary.
affected #: 1 file (120 bytes)
--- a/yt/data_objects/data_containers.py Wed Aug 24 08:02:37 2011 -0400
+++ b/yt/data_objects/data_containers.py Thu Aug 25 08:06:53 2011 -0400
@@ -2158,7 +2158,6 @@
na.any(self.right_edge > self.pf.domain_right_edge):
grids,ind = self.pf.hierarchy.get_periodic_box_grids(
self.left_edge, self.right_edge)
- ind = slice(None)
else:
grids,ind = self.pf.hierarchy.get_box_grids(
self.left_edge, self.right_edge)
@@ -3006,7 +3005,6 @@
na.any(self.right_edge > self.pf.domain_right_edge):
grids,ind = self.pf.hierarchy.get_periodic_box_grids(
self.left_edge, self.right_edge)
- ind = slice(None)
else:
grids,ind = self.pf.hierarchy.get_box_grids(
self.left_edge, self.right_edge)
@@ -3133,7 +3131,6 @@
grids,ind = self.pf.hierarchy.get_periodic_box_grids(
self.left_edge - self.dds,
self.right_edge + self.dds)
- ind = slice(None)
else:
grids,ind = self.pf.hierarchy.get_box_grids(
self.left_edge - self.dds,
@@ -3240,7 +3237,6 @@
grids,ind = self.pf.hierarchy.get_periodic_box_grids(
self.left_edge - buffer,
self.right_edge + buffer)
- ind = slice(None)
else:
grids,ind = self.pf.hierarchy.get_box_grids(
self.left_edge - buffer,
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