![]() |
Shamrock 2025.10.0
Astrophysical Code
|
#include "shamtree/CellIterator.hpp"#include "shamtree/LeafCellIterator.hpp"#include "shamtree/MortonCodeSortedSet.hpp"
Include dependency graph for MortonReducedSet.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | shamtree::MortonReducedSet< Tmorton, Tvec, dim > |
| Class representing a set of Morton codes with associated bounding box and position data that was reduced. More... | |
Functions | |
| template<class Tmorton , class Tvec , u32 dim> | |
| MortonReducedSet< Tmorton, Tvec, dim > | shamtree::reduce_morton_set (const sham::DeviceScheduler_ptr &dev_sched, MortonCodeSortedSet< Tmorton, Tvec, dim > &&morton_codes_set, u32 reduction_level) |
| Reduces the given Morton code set by grouping together Morton codes that are close to each other in the tree. | |
| template<class Tmorton , class Tvec , u32 dim> | |
| MortonReducedSet< Tmorton, Tvec, dim > | shamtree::reduce_morton_set (const sham::DeviceScheduler_ptr &dev_sched, MortonCodeSortedSet< Tmorton, Tvec, dim > &&morton_codes_set, u32 reduction_level, sham::DeviceBuffer< u32 > &&cache_buf_reduc_index_map, sham::DeviceBuffer< Tmorton > &&cache_reduced_morton_codes) |
| Reduces the given Morton code set by grouping together Morton codes that are close to each other in the tree. | |
Definition in file MortonReducedSet.hpp.
| MortonReducedSet< Tmorton, Tvec, dim > shamtree::reduce_morton_set | ( | const sham::DeviceScheduler_ptr & | dev_sched, |
| MortonCodeSortedSet< Tmorton, Tvec, dim > && | morton_codes_set, | ||
| u32 | reduction_level | ||
| ) |
Reduces the given Morton code set by grouping together Morton codes that are close to each other in the tree.
| dev_sched | The device scheduler to use for the reduction |
| morton_codes_set | The set of Morton codes to reduce |
| reduction_level | The amount of reduction to apply |
Definition at line 76 of file MortonReducedSet.cpp.
Here is the call graph for this function:| MortonReducedSet< Tmorton, Tvec, dim > shamtree::reduce_morton_set | ( | const sham::DeviceScheduler_ptr & | dev_sched, |
| MortonCodeSortedSet< Tmorton, Tvec, dim > && | morton_codes_set, | ||
| u32 | reduction_level, | ||
| sham::DeviceBuffer< u32 > && | cache_buf_reduc_index_map, | ||
| sham::DeviceBuffer< Tmorton > && | cache_reduced_morton_codes | ||
| ) |
Reduces the given Morton code set by grouping together Morton codes that are close to each other in the tree.
| dev_sched | The device scheduler to use for the reduction |
| morton_codes_set | The set of Morton codes to reduce |
| reduction_level | The amount of reduction to apply |
| cache_buf_reduc_index_map | A device buffer to be reused for the reduction index map |
| cache_reduced_morton_codes | A device buffer to be reused for the reduced Morton codes |
Definition at line 25 of file MortonReducedSet.cpp.
Here is the call graph for this function: