[yt-users] disk/cylinder definition

Matthew Turk matthewturk at gmail.com
Thu Dec 3 07:31:22 PST 2015


Hi Mateusz,

You're right about the height, and center is the geometrical center of
the cylinder, yes.

-Matt

On Mon, Nov 30, 2015 at 10:35 PM, Mateusz Ruszkowski <mateuszr at umich.edu> wrote:
>
>
>   Hi,
>
> I am trying to understand the definition of the cylinder/disk. The
> description provided here
> http://yt-project.org/doc/reference/api/generated/yt.data_objects.selection_data_containers.YTDiskBase.html#yt.data_objects.selection_data_containers.YTDiskBase
>
> states that “height" is “the distance from the midplane of the cylinder to
> the top and bottom planes.” So does that mean that a cylinder that is 1
> meter high/tall (height measured as the distance from top to bottom
> planes/bases) should have a height = 0.5 meter in a yt script? In other
> words, is the height measured from the geometrical center of the cylinder to
> one of its bases along the symmetry axis of the cylinder, or is the height
> measured from the center of one base to the center of the other?
>
> Also, is “center” the coordinate of the geometrical center of the cylinder
> or the coordinate of the center of one of the cylinder bases?
>
>    Thanks,
>       Mateusz
>
>
>
>
> _______________________________________________
> 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