@@ -107,7 +107,7 @@ namespace ArborX
107107// ! Neighbor access trait for Cabana slice and/or Kokkos View.
108108template <typename Positions>
109109struct AccessTraits <Positions,
110- #if ARBORX_VERSION < 10799
110+ #if ARBORX_VERSION < 20000
111111 PrimitivesTag,
112112#endif
113113 std::enable_if_t <Cabana::is_slice<Positions>{} ||
@@ -133,7 +133,7 @@ struct AccessTraits<Positions,
133133// ! Neighbor access trait.
134134template <typename Positions>
135135struct AccessTraits <Cabana::Experimental::Impl::SubPositionsAndRadius<Positions>
136- #if ARBORX_VERSION < 10799
136+ #if ARBORX_VERSION < 20000
137137 ,
138138 PredicatesTag
139139#endif
@@ -156,7 +156,7 @@ struct AccessTraits<Cabana::Experimental::Impl::SubPositionsAndRadius<Positions>
156156 {
157157 assert ( i < size ( x ) );
158158 auto const point = AccessTraits<typename PositionLike::positions_type
159- #if ARBORX_VERSION < 10799
159+ #if ARBORX_VERSION < 20000
160160 ,
161161 PrimitivesTag
162162#endif
@@ -198,7 +198,7 @@ struct CollisionFilter<HalfNeighborTag>
198198template <typename Tag>
199199struct NeighborDiscriminatorCallback
200200{
201- #if ARBORX_VERSION >= 10799
201+ #if ARBORX_VERSION >= 20000
202202 template <typename Predicate, typename Geometry, typename OutputFunctor>
203203 KOKKOS_FUNCTION void
204204 operator ()( Predicate const & predicate,
@@ -232,7 +232,7 @@ template <typename Counts, typename Tag>
232232struct NeighborDiscriminatorCallback2D_FirstPass
233233{
234234 Counts counts;
235- #if ARBORX_VERSION >= 10799
235+ #if ARBORX_VERSION >= 20000
236236 template <typename Predicate, typename Geometry>
237237 KOKKOS_FUNCTION void
238238 operator ()( Predicate const & predicate,
@@ -265,7 +265,7 @@ struct NeighborDiscriminatorCallback2D_FirstPass_BufferOptimization
265265{
266266 Counts counts;
267267 Neighbors neighbors;
268- #if ARBORX_VERSION >= 10799
268+ #if ARBORX_VERSION >= 20000
269269 template <typename Predicate, typename Geometry>
270270 KOKKOS_FUNCTION void
271271 operator ()( Predicate const & predicate,
@@ -316,7 +316,7 @@ struct NeighborDiscriminatorCallback2D_SecondPass
316316{
317317 Counts counts;
318318 Neighbors neighbors;
319- #if ARBORX_VERSION >= 10799
319+ #if ARBORX_VERSION >= 20000
320320 template <typename Predicate, typename Geometry>
321321 KOKKOS_FUNCTION void
322322 operator ()( Predicate const & predicate,
@@ -404,7 +404,7 @@ auto makeNeighborList( ExecutionSpace space, Tag, Positions const& positions,
404404
405405 using memory_space = typename Positions::memory_space;
406406
407- #if ARBORX_VERSION >= 10799
407+ #if ARBORX_VERSION >= 20000
408408 ArborX::BoundingVolumeHierarchy bvh (
409409 space, ArborX::Experimental::attach_indices<int >( positions ) );
410410#else
@@ -534,7 +534,7 @@ auto make2DNeighborList( ExecutionSpace space, Tag, Positions const& positions,
534534
535535 using memory_space = typename Positions::memory_space;
536536
537- #if ARBORX_VERSION >= 10799
537+ #if ARBORX_VERSION >= 20000
538538 ArborX::BoundingVolumeHierarchy bvh (
539539 space, ArborX::Experimental::attach_indices<int >( positions ) );
540540#else
@@ -546,7 +546,7 @@ auto make2DNeighborList( ExecutionSpace space, Tag, Positions const& positions,
546546
547547 auto const n_queries =
548548 ArborX::AccessTraits<std::remove_const_t <decltype ( predicates )>
549- #if ARBORX_VERSION < 10799
549+ #if ARBORX_VERSION < 20000
550550 ,
551551 ArborX::PredicatesTag
552552#endif
0 commit comments