Go to the documentation of this file.
30 Kokkos::MDRangePolicy<
31 Kokkos::IndexType<uint32>,
33 Kokkos::Schedule<Kokkos::Dynamic>,
48 return length(p2-p1) < 0.5*(d2+d1);
68 {nCells.x(), nCells.y(), nCells.z()} );
70 uint32 notInsertedPairs = 0u;
73 Kokkos::parallel_reduce (
74 "pFlow::NBSLevel0Kernels::findPairsCount",
80 return notInsertedPairs;
INLINE_FUNCTION_HD int32x3 numCells() const
INLINE_FUNCTION_HD void Swap(T &x, T &y)
INLINE_FUNCTION_HD bool sphereSphereCheck(const realx3 &p1, const realx3 p2, real d1, real d2)
Kokkos::DefaultExecutionSpace DefaultExecutionSpace
Default execution space, it can be device exe.
Kokkos::View< T * > deviceViewType1D
1D array (vector) with default device (memory space and execution space)
INLINE_FUNCTION_HD T length(const triple< T > &v1)
uint32 findPairsCount(csPairContainerType &pairs, real sizeRatio, const deviceViewType1D< realx3 > &pointPos, const pFlagTypeDevice &flags, const deviceViewType1D< real > &diameter, mapperNBS::CellIterator cellIter)
Kokkos::MDRangePolicy< Kokkos::IndexType< uint32 >, Kokkos::Rank< 3 >, Kokkos::Schedule< Kokkos::Dynamic >, DefaultExecutionSpace > mdrPolicyFindPairs
#define INLINE_FUNCTION_HD