yt.frontends.ramses.hilbert module¶
- yt.frontends.ramses.hilbert.get_cpu_list(ds, X)[source]¶
Return the list of the CPU intersecting with the positions given. Note that it will be 0-indexed.
- Parameters:
ds (Dataset) – The dataset containing the information
X ((N, ndim) float array) – An array containing positions. They should be between 0 and 1.