Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
amrex::DataLayoutPolicyRaw< ParticleType< Types... >, DataLayout::AoS > Struct Template Reference

#include <AMReX_ParticleArray.H>

Public Types

using raw_type = ParticleType< Types... > *
 
using value_type = ParticleType< Types... > &
 

Static Public Member Functions

__host__ static __device__ constexpr value_type get (raw_type a_ptr, std::size_t a_index)
 

Detailed Description

template<template< typename... > class ParticleType, typename... Types>
struct amrex::DataLayoutPolicyRaw< ParticleType< Types... >, DataLayout::AoS >

A non-owning version of AoS policy for passing to the GPU.

Member Typedef Documentation

◆ raw_type

template<template< typename... > class ParticleType, typename... Types>
using amrex::DataLayoutPolicyRaw< ParticleType< Types... >, DataLayout::AoS >::raw_type = ParticleType<Types...>*

◆ value_type

template<template< typename... > class ParticleType, typename... Types>
using amrex::DataLayoutPolicyRaw< ParticleType< Types... >, DataLayout::AoS >::value_type = ParticleType<Types...>&

Member Function Documentation

◆ get()

template<template< typename... > class ParticleType, typename... Types>
__host__ static __device__ constexpr value_type amrex::DataLayoutPolicyRaw< ParticleType< Types... >, DataLayout::AoS >::get ( raw_type  a_ptr,
std::size_t  a_index 
)
inlinestaticconstexpr

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