Reference documentation for deal.II version GIT relicensing-453-g9b4d7b6a5a 2024-04-20 16:00:02+00:00
\(\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< std::vector<::BoundingBox< dim, Number > >, PrimitivesTag > Struct Template Reference

Public Types

using memory_space = Kokkos::HostSpace
 

Static Public Member Functions

static std::size_t size (const std::vector<::BoundingBox< dim, Number > > &v)
 
static Box get (const std::vector<::BoundingBox< dim, Number > > &v, std::size_t i)
 

Detailed Description

template<int dim, typename Number>
struct ArborX::AccessTraits< std::vector<::BoundingBox< dim, Number > >, PrimitivesTag >

This struct allows ArborX to use std::vector<::BoundingBox> as primitive.

Definition at line 341 of file access_traits.h.

Member Typedef Documentation

◆ memory_space

template<int dim, typename Number >
using ArborX::AccessTraits< std::vector<::BoundingBox< dim, Number > >, PrimitivesTag >::memory_space = Kokkos::HostSpace

Definition at line 344 of file access_traits.h.

Member Function Documentation

◆ size()

template<int dim, typename Number >
std::size_t ArborX::AccessTraits< std::vector<::BoundingBox< dim, Number > >, PrimitivesTag >::size ( const std::vector<::BoundingBox< dim, Number > > &  v)
static

Return the size of the vector v.

Definition at line 267 of file access_traits.cc.

◆ get()

template<int dim, typename Number >
Box ArborX::AccessTraits< std::vector<::BoundingBox< dim, Number > >, PrimitivesTag >::get ( const std::vector<::BoundingBox< dim, Number > > &  v,
std::size_t  i 
)
static

Return an ArborX::Box from the BoundingBox v[i].

Definition at line 277 of file access_traits.cc.


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