[Yt-svn] yt-commit r1066 - trunk/yt/lagos/hop
mturk at wrangler.dreamhost.com
mturk at wrangler.dreamhost.com
Sat Jan 3 16:24:09 PST 2009
Author: mturk
Date: Sat Jan 3 16:24:08 2009
New Revision: 1066
URL: http://yt.spacepope.org/changeset/1066
Log:
Added get_size method to preserve compatibility with the new hop
Modified:
trunk/yt/lagos/hop/HopOutput.py
Modified: trunk/yt/lagos/hop/HopOutput.py
==============================================================================
--- trunk/yt/lagos/hop/HopOutput.py (original)
+++ trunk/yt/lagos/hop/HopOutput.py Sat Jan 3 16:24:08 2009
@@ -226,6 +226,9 @@
center, radius=radius)
return sphere
+ def get_size(self):
+ return self.indices.size
+
class HaloFinder(ParallelAnalysisInterface):
def __init__(self, pf, threshold=160.0, dm_only=True):
self.pf = pf
More information about the yt-svn
mailing list