[yt-users] calculation of distance in periodic volume

Eric Hallman hallman13 at gmail.com
Tue Nov 30 09:24:22 PST 2010


Hey,
   I am wondering if there is a simple routine in yt for calculating  
the minimum distance between two points in a periodic volume.  Somehow  
I wind up writing a new routine for this every time I do it, and it  
requires a bunch of loops to check which distance is right.  There is  
bound to be a faster easier way, wondering if anyone knows of one in  
yt, or has one they use that works fast.

thanks!

Eric Hallman
Google Voice: (774) 469-0278
hallman13 at gmail.com







More information about the yt-users mailing list