[yt-users] disk/cylinder definition

Mateusz Ruszkowski mateuszr at umich.edu
Mon Nov 30 20:35:11 PST 2015



  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 <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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20151130/2c7c489b/attachment.htm>


More information about the yt-users mailing list