[yt-users] finding grid points within a volume
Slavin, Jonathan
jslavin at cfa.harvard.edu
Tue Oct 18 13:26:35 PDT 2016
Hi all,
I'm looking for a way to find all the grid points in a volume, or really
within a surface. I can get the surface using
skimage.measure.marching_cubes (or I guess from the surface method of a
data source). That is, it provides vertices that define a surface. What I
then want to know is which grid points for an array that covers the
simulation volume (fixed resolution array) are within that volume. It
appears that yt is set up to calculate the flux across an isocontour, but I
don't see anything related to the volume within it. Any help would be
appreciated.
Regards,
Jon
--
________________________________________________________
Jonathan D. Slavin Harvard-Smithsonian CfA
jslavin at cfa.harvard.edu 60 Garden Street, MS 83
phone: (617) 496-7981 Cambridge, MA 02138-1516
cell: (781) 363-0035 USA
________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20161018/e59003f0/attachment.htm>
More information about the yt-users
mailing list