Hipace
Public Member Functions | Public Attributes | List of all members
Array3< T > Struct Template Reference

#include <GPUUtil.H>

Public Member Functions

 Array3 (const amrex::Array4< T > &rhs) noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T & operator() (int i, int j, int n) const noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T * ptr (int i, int j, int n) const noexcept
 

Public Attributes

T *AMREX_RESTRICT p
 
amrex::Long jstride = 0
 
amrex::Long nstride = 0
 
amrex::Long start = 0
 

Constructor & Destructor Documentation

◆ Array3()

template<class T >
Array3< T >::Array3 ( const amrex::Array4< T > &  rhs)
inlinenoexcept

Member Function Documentation

◆ operator()()

template<class T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T& Array3< T >::operator() ( int  i,
int  j,
int  n 
) const
inlinenoexcept

◆ ptr()

template<class T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE T* Array3< T >::ptr ( int  i,
int  j,
int  n 
) const
inlinenoexcept

Member Data Documentation

◆ jstride

template<class T >
amrex::Long Array3< T >::jstride = 0

◆ nstride

template<class T >
amrex::Long Array3< T >::nstride = 0

◆ p

template<class T >
T* AMREX_RESTRICT Array3< T >::p

◆ start

template<class T >
amrex::Long Array3< T >::start = 0

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