[yt-users] re-calculate function

Elizabeth Tasker tasker at astro1.sci.hokudai.ac.jp
Thu Nov 10 00:47:49 PST 2011


Hi,

Simpler question (I think!)

Can I force yt to re-calculate a derived field? I'd like to call dd["Radius"] muliple times, but changing the position of the center field parameter in the same script. Currently, yt knows it's already calculated dd["Radius"] once and doesn't repeat it, even though "center" has changed. Ideally, I'd like to clear just that field, so yt doesn't go and recalculate any other fields. 

Elizabeth


More information about the yt-users mailing list