[yt-svn] commit/yt: MatthewTurk: Adding mask_refinement to OctreeSubsetparticle_radius.
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Tue Dec 10 13:16:54 PST 2013
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/commits/7159d0816ffe/
Changeset: 7159d0816ffe
Branch: yt-3.0
User: MatthewTurk
Date: 2013-12-10 22:16:30
Summary: Adding mask_refinement to OctreeSubsetparticle_radius.
Affected #: 1 file
diff -r 09f43fdc818380523eb7445e8a3353f1e40ca1f6 -r 7159d0816ffe9e933fdfa0301ac612ac4eedbf63 yt/data_objects/octree_subset.py
--- a/yt/data_objects/octree_subset.py
+++ b/yt/data_objects/octree_subset.py
@@ -112,6 +112,10 @@
_domain_ind = None
+ def mask_refinement(self, selector):
+ mask = self.oct_handler.mask(selector, domain_id = self.domain_id)
+ return mask
+
def select_blocks(self, selector):
mask = self.oct_handler.mask(selector, domain_id = self.domain_id)
mask = self._reshape_vals(mask)
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