Would something like what Britton suggested to Charles a while back work? pf.parameters['temperature_threshold'] = 1.e7 data.pf.parameters['temperature_threshold']. will pf.h.sphere(whatever) inherit my new thing? d. On Tue, May 25, 2010 at 2:02 PM, Matthew Turk <matthewturk@gmail.com> wrote:
Hi Dave,
Unfortunately, I don't think there is. We could potentially set something up, but as it stands I think both the method resolution order of inherited Python objects as well as the name mangling for "private" methods like __set_default_field_parameters (in yt/lagos/BaseDataTypes.py:161) get in the way.
-Matt
On Tue, May 25, 2010 at 1:58 PM, david collins <antpuncher@gmail.com> wrote:
Hi, all--
I've used set_field_parameter for computing quantities, but that works directly on a ExtractedRegions and whatnot. Is it possible to tie something directly to the hierarchy or pf so that any new objects I create can also see this value?
Thanks, d.
-- Sent from my Stone Tablet and carried by my Pterodactyl. _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-- Sent from my Stone Tablet and carried by my Pterodactyl.