[yt-svn] commit/yt: sskory: Fixing parallel domain division for HOP and FOF.

Bitbucket commits-noreply at bitbucket.org
Sat Feb 25 16:12:55 PST 2012


1 new commit in yt:


https://bitbucket.org/yt_analysis/yt/changeset/e540868d0f9c/
changeset:   e540868d0f9c
branch:      yt
user:        sskory
date:        2012-02-25 00:38:58
summary:     Fixing parallel domain division for HOP and FOF.
affected #:  1 file

diff -r 3b3d9a4336cc01a22c9364cc87860ee288f6f70e -r e540868d0f9c644f8893bc4d0c1262ffb08aff49 yt/analysis_modules/halo_finding/halo_objects.py
--- a/yt/analysis_modules/halo_finding/halo_objects.py
+++ b/yt/analysis_modules/halo_finding/halo_objects.py
@@ -2250,6 +2250,8 @@
         # Derived Quantities.
         if subvolume is not None:
             self._data_source = pf.h.periodic_region_strict([0.] * 3, ds_LE, ds_RE)
+        else:
+            self._data_source = pf.h.all_data()
         self.padding = padding  # * pf["unitary"] # This should be clevererer
         padded, LE, RE, self._data_source = \
             self.partition_hierarchy_3d(ds=self._data_source,
@@ -2344,6 +2346,8 @@
         if subvolume is not None:
             self._data_source = pf.h.periodic_region_strict([0.] * 3, ds_LE,
                 ds_RE)
+        else:
+            self._data_source = pf.h.all_data()
         padded, LE, RE, self._data_source = \
             self.partition_hierarchy_3d(ds=self._data_source,
             padding=self.padding)

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