Reference documentation for deal.II version 9.5.0
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | List of all members
ArborX::AccessTraits<::ArborXWrappers::BoundingBoxNearestPredicate, PredicatesTag > Struct Reference

#include <deal.II/arborx/access_traits.h>

Public Types

using memory_space = Kokkos::HostSpace
 

Static Public Member Functions

static std::size_t size (const ::ArborXWrappers::BoundingBoxNearestPredicate &bb_nearest)
 
static auto get (const ::ArborXWrappers::BoundingBoxNearestPredicate &bb_nearest, std::size_t i)
 

Detailed Description

This struct allows ArborX to use BoundingBoxNearstPredicate as a predicate.

Definition at line 477 of file access_traits.h.

Member Typedef Documentation

◆ memory_space

using ArborX::AccessTraits<::ArborXWrappers::BoundingBoxNearestPredicate, PredicatesTag >::memory_space = Kokkos::HostSpace

Definition at line 480 of file access_traits.h.

Member Function Documentation

◆ size()

std::size_t ArborX::AccessTraits<::ArborXWrappers::BoundingBoxNearestPredicate, PredicatesTag >::size ( const ::ArborXWrappers::BoundingBoxNearestPredicate bb_nearest)
inlinestatic

The number of bounding boxes stored in bb_nearest.

Definition at line 630 of file access_traits.h.

◆ get()

auto ArborX::AccessTraits<::ArborXWrappers::BoundingBoxNearestPredicate, PredicatesTag >::get ( const ::ArborXWrappers::BoundingBoxNearestPredicate bb_nearest,
std::size_t  i 
)
inlinestatic

Return an Arbox::nearest(ArborX::Box, BoundingBoxtNearestPredicate::get_n_nearest_neighbors) object constructed from the ith BoundingBox stored in bb_nearest.

Definition at line 640 of file access_traits.h.


The documentation for this struct was generated from the following file: