Reference documentation for deal.II version GIT c415589cf0 2022-08-14 18:50: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\}}\)
Public Types | Static Public Member Functions | List of all members
ArborX::AccessTraits< std::vector<::BoundingBox< dim, Number > >, PrimitivesTag > Struct Template 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 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 342 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 345 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 249 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 259 of file access_traits.cc.


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