Proto  3.2
Public Member Functions | Public Attributes | List of all members
Proto::Var< T, C, MEM, D, E > Class Template Reference

Pointwise Variable. More...

#include <Proto_BoxData.H>

Public Member Functions

T & getValDevice (unsigned int a_c, unsigned int a_d=0, unsigned int a_e=0)
 
ACCEL_DECORATION __attribute__ ((always_inline)) T &operator()(unsigned int a_c
 Pointwise Accessor. More...
 

Public Attributes

ACCEL_DECORATION unsigned int a_d = 0
 
ACCEL_DECORATION unsigned int unsigned int a_e
 
unsigned int boxDimY
 
unsigned int subBoxDimX
 
unsigned int subBoxDimY
 
T * m_ptrs [C *D *E]
 

Detailed Description

template<typename T, unsigned int C = 1, MemType MEM = MEMTYPE_DEFAULT, unsigned int D = 1, unsigned int E = 1>
class Proto::Var< T, C, MEM, D, E >

Pointwise Variable.

Var is used for implementing pointwise operators on BoxDatas. See the documentation for forall for more information. Template parameters refer to the type and dimension of data held by the associated BoxData. See BoxData documentation.

Template Parameters
TType of data in array (bool, int, double, etc.)
CNumber of components in first data index. Defaults to 1.
DNumber of components in second data index. Defaults to 1.
ENumber of components in third data index. Defaults to 1.

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