[yt-users] 2D and 1D data, field info changes

Matthew Turk matthewturk at gmail.com
Wed Nov 19 10:20:17 PST 2008


Hi everyone,

I've put in support for 1D and 2D data in yt/trunk.  It's currently
not well-documented, or documented at all, but you should be able to
slice along axis '2' for 2D data and you should be able to
add_ortho_ray to a PlotCollection for 1D data.  Additionally, support
for dx!=dy!=dz has been shored up, and support for non-cubic domains
has also been improved.  There may still be funniness there.

The biggest change, though, is the generalized field containers.  This
probably won't mean much to you unless you do a lot of work with your
own custom fields; it should be completely compatible with what you
currently do, but if there are problems, let me know.  The new
generalized field containers allow for different sets of fields based
on the type of StaticOutput and Hierarchy created; if you have a
particular set of fields you are always adding, or modifying existing
fields, it might be worth your time to subclass EnzoStaticOutput and
set up your own field container.

Again, this is mainly just a feature enhancement notice, but if you
are running off trunk and you run into problems with fields, let me
know.  If you're running off yt-1.0, which you are if you installed
from the Enzo 1.5 sources, then none of this should affect you.

-Matt



More information about the yt-users mailing list