This *was* possible. Until Irina emailed, I was under the impression it still was; I don't know why the functionality was removed.
I believe that changing the data_source check and construction should make this possible, similarly to how the projection mechanism checks if a source has been provided. The only variables that are required to be initialized in __init__ related to the data_source are padding and _data_source; if _data_source is supplied (i.e., add on data_source to the contructor) and "is not None" then it should simply set padding to 0.0 and set self._data_source equal to the supplied source.
On Mon, Sep 20, 2010 at 8:40 AM, Stephen Skory email@example.com wrote:
Is there a way to run the halo finder on part of the simulation volume? For example, I have a box 256 Mpc on a side but I only want to find halos inside a smaller box, say 20 Mpc on a side.
Unfortunately, this is not currently possible in yt. However, it should be possible if the right modifications are done. Something along these lines is how HOP/FOF are parallelized, so it should be translateable to your problem. I am not making promises that I will do this, but that it is possible. I'll think about it.
However, I wonder why you only want halos in a small region? Do you have a nested simulation? Does it seem like the halo finding is taking too long? Are you looking for substructure? Depending on the answers to these questions, the modifications discussed above may not be required.
_______________________________________________________ firstname.lastname@example.org o__ Stephen Skory http://physics.ucsd.edu/~sskory/ _.>/ _Graduate Student ________________________________(_)_(_)_______________
yt-users mailing list email@example.com http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org