Reference documentation for deal.II version 9.4.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\}}\)
Public Types | Static Public Member Functions | List of all members
ArborX::AccessTraits< std::vector<::Point< 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<::Point< dim, Number > > &v)
 
static Point get (const std::vector<::Point< dim, Number > > &v, std::size_t i)
 

Detailed Description

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

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

Definition at line 318 of file access_traits.h.

Member Typedef Documentation

◆ memory_space

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

Definition at line 320 of file access_traits.h.

Member Function Documentation

◆ size()

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

Return the size of the vector v.

Definition at line 223 of file access_traits.cc.

◆ get()

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

Return an ArborX::Point from the Point v[i].

Definition at line 233 of file access_traits.cc.


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