![]() |
Shamrock 2025.10.0
Astrophysical Code
|
#include "shamtree/MortonCodeSet.hpp"
Include dependency graph for MortonCodeSortedSet.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | shamtree::MortonCodeSortedSet< Tmorton, Tvec, dim > |
| Class representing a set of Morton codes with associated bounding box and position data. More... | |
Functions | |
| template<class Tmorton , class Tvec , u32 dim> | |
| MortonCodeSortedSet< Tmorton, Tvec, dim > | shamtree::sort_morton_set (const sham::DeviceScheduler_ptr &dev_sched, MortonCodeSet< Tmorton, Tvec, dim > &&morton_codes_set) |
| Sorts a set of Morton codes and creates a new MortonCodeSortedSet object with the sorted codes and the associated map from sorted Morton code to object id. | |
| template<class Tmorton , class Tvec , u32 dim> | |
| MortonCodeSortedSet< Tmorton, Tvec, dim > | shamtree::sort_morton_set (const sham::DeviceScheduler_ptr &dev_sched, MortonCodeSet< Tmorton, Tvec, dim > &&morton_codes_set, sham::DeviceBuffer< u32 > &&cached_map_morton_id_to_obj_id) |
| Sorts a set of Morton codes and creates a new MortonCodeSortedSet object with the sorted codes and the associated map from sorted Morton code to object id. | |
Definition in file MortonCodeSortedSet.hpp.
| MortonCodeSortedSet< Tmorton, Tvec, dim > shamtree::sort_morton_set | ( | const sham::DeviceScheduler_ptr & | dev_sched, |
| MortonCodeSet< Tmorton, Tvec, dim > && | morton_codes_set | ||
| ) |
Sorts a set of Morton codes and creates a new MortonCodeSortedSet object with the sorted codes and the associated map from sorted Morton code to object id.
| dev_sched | The SYCL device scheduler to use |
| morton_codes_set | The MortonCodeSet to be sorted |
Definition at line 52 of file MortonCodeSortedSet.cpp.
Here is the call graph for this function:| MortonCodeSortedSet< Tmorton, Tvec, dim > shamtree::sort_morton_set | ( | const sham::DeviceScheduler_ptr & | dev_sched, |
| MortonCodeSet< Tmorton, Tvec, dim > && | morton_codes_set, | ||
| sham::DeviceBuffer< u32 > && | cached_map_morton_id_to_obj_id | ||
| ) |
Sorts a set of Morton codes and creates a new MortonCodeSortedSet object with the sorted codes and the associated map from sorted Morton code to object id.
| dev_sched | The SYCL device scheduler to use |
| morton_codes_set | The MortonCodeSet to be sorted |
| cached_map_morton_id_to_obj_id | A pre-allocated device buffer to store the map from sorted Morton code to object id |
Definition at line 24 of file MortonCodeSortedSet.cpp.
Here is the call graph for this function: