![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Dual tree traversal algorithm for Compressed Leaf Bounding Volume Hierarchies. More...
#include "shamalgs/impl_utils.hpp"#include "shambackends/vec.hpp"#include "shamtree/CompressedLeafBVH.hpp"
Include dependency graph for CLBVHDualTreeTraversal.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | shamtree::DTTResult |
| Result structure for dual tree traversal operations. More... | |
| struct | shamtree::DTTResult::OrderedResult |
Namespaces | |
| namespace | shamtree::impl |
| namespace to control implementation behavior | |
Functions | |
| template<class Tmorton , class Tvec , u32 dim> | |
| DTTResult | shamtree::clbvh_dual_tree_traversal (sham::DeviceScheduler_ptr dev_sched, const CompressedLeafBVH< Tmorton, Tvec, dim > &bvh, shambase::VecComponent< Tvec > theta_crit, bool ordered_result=false, bool allow_leaf_lowering=false) |
| Perform dual tree traversal on a compressed leaf bounding volume hierarchy. | |
| std::vector< shamalgs::impl_param > | shamtree::impl::get_default_impl_list_clbvh_dual_tree_traversal () |
| Get list of available dual tree traversal implementations. | |
| shamalgs::impl_param | shamtree::impl::get_current_impl_clbvh_dual_tree_traversal_impl () |
| Get the current implementation for dual tree traversal. | |
| void | shamtree::impl::set_impl_clbvh_dual_tree_traversal (const std::string &impl, const std::string ¶m="") |
| Set the implementation for dual tree traversal. | |
Dual tree traversal algorithm for Compressed Leaf Bounding Volume Hierarchies.
This header provides algorithms for performing dual tree traversal on Compressed Leaf Bounding Volume Hierarchies (CLBVH).
Definition in file CLBVHDualTreeTraversal.hpp.
| DTTResult shamtree::clbvh_dual_tree_traversal | ( | sham::DeviceScheduler_ptr | dev_sched, |
| const CompressedLeafBVH< Tmorton, Tvec, dim > & | bvh, | ||
| shambase::VecComponent< Tvec > | theta_crit, | ||
| bool | ordered_result = false, |
||
| bool | allow_leaf_lowering = false |
||
| ) |
Perform dual tree traversal on a compressed leaf bounding volume hierarchy.
| dev_sched | The device scheduler to use |
| bvh | The compressed leaf bounding volume hierarchy to traverse |
| theta_crit | The critical theta value for the dual tree traversal |
| ordered_result | If true the list of M2L and P2P will be ordered and the offsets will be provided |
| allow_leaf_lowering | If true leaves can be lowered to the next interaction to reduce the number of P2P interactions |
Definition at line 69 of file CLBVHDualTreeTraversal.cpp.
Here is the call graph for this function: