Block-Structured AMR Software Framework
amrex::algoim::PsiCode< N > Struct Template Reference

#include <AMReX_algoim_K.H>

Public Member Functions

AMREX_GPU_HOST_DEVICE constexpr AMREX_FORCE_INLINE PsiCode () noexcept=default
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE PsiCode (const GpuArray< int, N > &sides, int sign) noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE PsiCode (const PsiCode &i, int dim, int side, int sign) noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE int side (int dim) const noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE int sign () const noexcept
 

Public Attributes

unsigned char bits = 0
 

Constructor & Destructor Documentation

◆ PsiCode() [1/3]

template<int N>
AMREX_GPU_HOST_DEVICE constexpr AMREX_FORCE_INLINE amrex::algoim::PsiCode< N >::PsiCode ( )
constexprdefaultnoexcept

◆ PsiCode() [2/3]

template<int N>
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::algoim::PsiCode< N >::PsiCode ( const GpuArray< int, N > &  sides,
int  sign 
)
inlinenoexcept

◆ PsiCode() [3/3]

template<int N>
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::algoim::PsiCode< N >::PsiCode ( const PsiCode< N > &  i,
int  dim,
int  side,
int  sign 
)
inlinenoexcept

Member Function Documentation

◆ side()

template<int N>
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE int amrex::algoim::PsiCode< N >::side ( int  dim) const
inlinenoexcept

◆ sign()

template<int N>
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE int amrex::algoim::PsiCode< N >::sign ( ) const
inlinenoexcept

Member Data Documentation

◆ bits

template<int N>
unsigned char amrex::algoim::PsiCode< N >::bits = 0

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