Go to the source code of this file.
|
| enum class | DTTImpl : u32 { REFERENCE
, PARALLEL_SELECT
, SCAN_MULTIPASS
} |
| |
|
| DTTImpl | shamtree::dtt_impl_from_params (const std::string &impl) |
| |
| shamalgs::impl_param | shamtree::dtt_impl_to_params (const DTTImpl &impl) |
| |
| 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.
|
| |
|
template DTTResult | shamtree::clbvh_dual_tree_traversal< u64, f64_3, 3 > (sham::DeviceScheduler_ptr dev_sched, const CompressedLeafBVH< u64, f64_3, 3 > &bvh, shambase::VecComponent< f64_3 > theta_crit, bool ordered_result, bool allow_leaf_lowering) |
| |
|
template DTTResult | shamtree::clbvh_dual_tree_traversal< u32, f64_3, 3 > (sham::DeviceScheduler_ptr dev_sched, const CompressedLeafBVH< u32, f64_3, 3 > &bvh, shambase::VecComponent< f64_3 > theta_crit, bool ordered_result, bool allow_leaf_lowering) |
| |
◆ DTTImpl
| enum class shamtree::DTTImpl : u32 |
|
strong |
◆ clbvh_dual_tree_traversal()
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.
- Parameters
-
| 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 |
- Returns
- The result of the dual tree traversal
Definition at line 69 of file CLBVHDualTreeTraversal.cpp.
◆ dtt_impl_from_params()
| DTTImpl shamtree::dtt_impl_from_params |
( |
const std::string & |
impl | ) |
|
|
inline |
◆ dtt_impl_to_params()
◆ dtt_impl
| DTTImpl shamtree::dtt_impl = DTTImpl::SCAN_MULTIPASS |