[yt-users] Field based on neighbour cells

José Utreras jutreras at das.uchile.cl
Fri Dec 19 08:04:23 PST 2014


Hi everyone,

I want to write a new field based on the neighbour cells like this:

vx = data[ftype, "velocity_x"][sl_right,sl_center,sl_center]

but I got " global name 'ftype' is not defined". I suppose that I have the
same problem with sl_left, sl_right , sl_center.

Thanks,

Jose
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20141219/8f6764be/attachment.htm>
-------------- next part --------------
_______________________________________________
yt-users mailing list
yt-users at lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org


More information about the yt-users mailing list