deal.II version GIT relicensing-2072-gfa95b42947 2024-11-02 03:10:00+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< std::pair<::Point< dim, Number >, Number > >, PrimitivesTag > Struct Template Reference

Public Types

using memory_space = Kokkos::HostSpace
 

Static Public Member Functions

static std::size_t size (const std::vector< std::pair<::Point< dim, Number >, Number > > &v)
 
static Sphere get (const std::vector< std::pair<::Point< dim, Number >, Number > > &v, std::size_t i)
 

Detailed Description

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

This struct allows ArborX to use std::vector<std::pair<::Point, Number> as primitive.

Definition at line 366 of file access_traits.h.

Member Typedef Documentation

◆ memory_space

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

Definition at line 370 of file access_traits.h.

Member Function Documentation

◆ size()

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

Return the size of the vector v.

Definition at line 294 of file access_traits.cc.

◆ get()

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

Return an ArborX::Sphere from the std::pair<::Point, Number> v[i].

Definition at line 305 of file access_traits.cc.


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