
That also explains why the density slices have units of g/cm^3, instead of g/cm^2. What I meant was : If box=100Mpc/h and GridDims=256 256 256, then each cell is 390 Kpc/h and the yt-slice would return the volume average over this cell. Thanks Shankar -----Original Message----- From: yt-users-bounces@lists.spacepope.org on behalf of j s oishi Sent: Fri 5/28/2010 1:06 PM To: Discussion of the yt analysis package Subject: Re: [yt-users] Thickness of slices Shankar, This question is ill posed. A slice in yt returns the values of each cell in a plane orthogonal to the slice direction at a given point in that direction. Since Enzo is a finite volume method (assuming you are not using the Zeus hydro integrators), the quantity in a cell is located at cell center and represents the volume average over the cell. Thus, this plane of values has no thickness and thus neither does a yt slice have thickness. j On Fri, May 28, 2010 at 10:56 AM, Agarwal, Shankar <sagarwal@ku.edu> wrote:
Hi,
http://yt.enzotools.org/doc/cookbook/recipes.html#simple-slice
Is there a way to figure out the approximate thickness of a slice (given the overall size of the simulation box).
Shankar Agarwal Department of Physics and Astronomy University of Kansas _______________________________________________ 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