ORB5X 1.0.0
Performance-portable global electromagnetic gyrokinetic PIC code
Loading...
Searching...
No Matches
orb5x::UnpackReceiveBufferFunctor Struct Reference

#include "parmove.hpp"

Public Member Functions

void operator() (const int i) const
 UnpackReceiveBufferFunctor (Kokkos::View< Real * > arr_, Kokkos::View< int * > rdispl_, Kokkos::View< Real * > rbuf_, int natts_, int npmax_, int np_new_)
 UnpackReceiveBufferFunctor (Kokkos::View< Real **, Kokkos::LayoutStride > arr_, Kokkos::View< int * > rdispl_, Kokkos::View< Real * > rbuf_, int natts_, int npmax_, int np_new_)

Public Attributes

Kokkos::View< Real **, Kokkos::LayoutStride > arr
Kokkos::View< Real * > arr_flat
int natts
int np_new
int npmax
Kokkos::View< Real * > rbuf
Kokkos::View< int * > rdispl
bool use_flat = false

Constructor & Destructor Documentation

◆ UnpackReceiveBufferFunctor() [1/2]

orb5x::UnpackReceiveBufferFunctor::UnpackReceiveBufferFunctor ( Kokkos::View< Real **, Kokkos::LayoutStride > arr_,
Kokkos::View< int * > rdispl_,
Kokkos::View< Real * > rbuf_,
int natts_,
int npmax_,
int np_new_ )
inline

References arr, natts, np_new, npmax, rbuf, and rdispl.

◆ UnpackReceiveBufferFunctor() [2/2]

orb5x::UnpackReceiveBufferFunctor::UnpackReceiveBufferFunctor ( Kokkos::View< Real * > arr_,
Kokkos::View< int * > rdispl_,
Kokkos::View< Real * > rbuf_,
int natts_,
int npmax_,
int np_new_ )
inline

References arr_flat, natts, np_new, npmax, rbuf, rdispl, and use_flat.

Member Function Documentation

◆ operator()()

void orb5x::UnpackReceiveBufferFunctor::operator() ( const int i) const
inline

References arr, arr_flat, natts, np_new, npmax, rbuf, and use_flat.

Member Data Documentation

◆ arr

Kokkos::View<Real**, Kokkos::LayoutStride> orb5x::UnpackReceiveBufferFunctor::arr

◆ arr_flat

Kokkos::View<Real*> orb5x::UnpackReceiveBufferFunctor::arr_flat

◆ natts

int orb5x::UnpackReceiveBufferFunctor::natts

◆ np_new

int orb5x::UnpackReceiveBufferFunctor::np_new

◆ npmax

int orb5x::UnpackReceiveBufferFunctor::npmax

◆ rbuf

Kokkos::View<Real*> orb5x::UnpackReceiveBufferFunctor::rbuf

◆ rdispl

Kokkos::View<int*> orb5x::UnpackReceiveBufferFunctor::rdispl

◆ use_flat

bool orb5x::UnpackReceiveBufferFunctor::use_flat = false

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