[yt-svn] commit/yt: MatthewTurk: Merged in ngoldbaum/yt (pull request #1170)
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Tue Sep 2 15:49:19 PDT 2014
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/commits/d5abcd31e49c/
Changeset: d5abcd31e49c
Branch: yt
User: MatthewTurk
Date: 2014-09-03 00:49:10
Summary: Merged in ngoldbaum/yt (pull request #1170)
Smoothed covering grid particle improvements
Affected #: 1 file
diff -r 1998e420f9eb51687cb44d529a2053bd6dcfd29d -r d5abcd31e49c5aeaad7dca2a155bba1394341bad yt/data_objects/construction_data_containers.py
--- a/yt/data_objects/construction_data_containers.py
+++ b/yt/data_objects/construction_data_containers.py
@@ -513,6 +513,9 @@
fill, gen = self.index._split_fields(fields_to_get)
particles = []
for field in gen:
+ if field[0] == 'deposit':
+ fill.append(field)
+ continue
finfo = self.ds._get_field_info(*field)
try:
finfo.check_available(self)
@@ -743,6 +746,13 @@
self.right_edge + level_state.current_dx)
level_state.data_source.min_level = level_state.current_level
level_state.data_source.max_level = level_state.current_level
+ self._pdata_source = self.ds.region(
+ self.center,
+ self.left_edge - level_state.current_dx,
+ self.right_edge + level_state.current_dx)
+ self._pdata_source.min_level = level_state.current_level
+ self._pdata_source.max_level = level_state.current_level
+
def _fill_fields(self, fields):
ls = self._initialize_level_state(fields)
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