FLASH Nearest Neighbor - yt 3.6.0
Hi! I'm working with a FLASH dataset and am trying to use the add_nearest_neighbor_field() function as briefly described here https://yt-project.org/doc/analyzing/fields.html#computing-the-nth-nearest-n.... However, when I run the short script (with the input data replaced with my own FLASH dataset), I get the errors yt.fields.field_exceptions.NeedsGridType: (0, None) and NotImplementedError. Is this function not available for FLASH datasets, and is there a workaround? My final goal is to create a smoothed particle field, so if there is a better way than using the nearest_neighbor_distance_64 field in place of a smoothing_length field, please let me know! Input data: plt file - http://use.yt/upload/a94cdffd part file - http://use.yt/upload/dec62ce5 Test Script: http://paste.yt-project.org/show/259/ Camryn
participants (2)
-
clp3ef@virginia.edu
-
Matthew Turk