[Yt-svn] yt-commit r1599 - trunk/yt/lagos

mturk at wrangler.dreamhost.com mturk at wrangler.dreamhost.com
Tue Jan 26 19:18:31 PST 2010


Author: mturk
Date: Tue Jan 26 19:18:30 2010
New Revision: 1599
URL: http://yt.enzotools.org/changeset/1599

Log:
The serial partitioning of a grid in 3D should use the all_data method, as that
returns a Region.  ParticleIO is aware of 'regions' and so this results in a
more efficient serial-HOP process.



Modified:
   trunk/yt/lagos/ParallelTools.py

Modified: trunk/yt/lagos/ParallelTools.py
==============================================================================
--- trunk/yt/lagos/ParallelTools.py	(original)
+++ trunk/yt/lagos/ParallelTools.py	Tue Jan 26 19:18:30 2010
@@ -280,7 +280,7 @@
     def _partition_hierarchy_3d(self, padding=0.0):
         LE, RE = self.pf["DomainLeftEdge"].copy(), self.pf["DomainRightEdge"].copy()
         if not self._distributed:
-           return False, LE, RE, self.hierarchy.grid_collection(self.center, self.hierarchy.grids)
+           return False, LE, RE, self.hierarchy.all_data()
         elif ytcfg.getboolean("yt", "inline"):
             # At this point, we want to identify the root grid tile to which
             # this processor is assigned.



More information about the yt-svn mailing list