What are the "x", "y" and "z" fields in a disk?
After defining a disk my_disk=pf.h.disk(sc, [0,0,1], 450.0*pc, 30.0*pc) I asked for the minimum and maximum values of these fields xmin= my_disk["x"].min() xmax= my_disk["x"].max() ymin= my_disk["y"].min() ymax= my_disk["y"].max() zmin=my_disk["z"].min() zmax=my_disk["z"].max() print xmin,xmax,ymin,ymax,zmin,zmax and got 0.00390625 0.99609375 0.00390625 0.99609375 0.00390625 0.99609375 xmin+xmax=ymin+ymax=zmin+zmax=1 So I really don't know what actually are these fields
Hi José, Those are the cell centers. They seem to span the whole domain, but I think that is because you need to divide by the conversion factors instead of multiplying by them. So for instance, 450/pf["cm"] -Matt On Jul 26, 2013 5:50 PM, "José Utreras" <jutreras@das.uchile.cl> wrote:
After defining a disk
my_disk=pf.h.disk(sc, [0,0,1], 450.0*pc, 30.0*pc)
I asked for the minimum and maximum values of these fields
xmin= my_disk["x"].min() xmax= my_disk["x"].max() ymin= my_disk["y"].min() ymax= my_disk["y"].max() zmin=my_disk["z"].min() zmax=my_disk["z"].max() print xmin,xmax,ymin,ymax,zmin,zmax
and got
0.00390625 0.99609375 0.00390625 0.99609375 0.00390625 0.99609375 xmin+xmax=ymin+ymax=zmin+zmax=1
So I really don't know what actually are these fields
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (2)
-
José Utreras
-
Matthew Turk