OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
OPAL
Macros | Functions
PAssignDefs.h File Reference
#include "PETE/IpplExpressions.h"
#include "AppTypes/AppTypeTraits.h"
Include dependency graph for PAssignDefs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DEFINE_EVALFUNCTOR_PAE(D)
 
#define DEFINE_COUNTFUNCTOR_PAE(D)
 
#define DEFINE_INCFUNCTOR_PAE(D)
 

Functions

template<class T >
T & for_each (ParticleAttribIterator< T > &p, EvalFunctor_0)
 
template<class T >
const T & for_each (ParticleAttribConstIterator< T > &p, EvalFunctor_0)
 
template<class T >
AppTypeTraits< T >::Element_t & for_each (ParticleAttribElemIterator< T, 1 > &p, EvalFunctor_0)
 
template<class T >
AppTypeTraits< T >::Element_t & for_each (ParticleAttribElemIterator< T, 2 > &p, EvalFunctor_0)
 
template<class T >
AppTypeTraits< T >::Element_t & for_each (ParticleAttribElemIterator< T, 3 > &p, EvalFunctor_0)
 
template<class T >
AppTypeTraits< T >::Element_t & for_each (ParticleAttribElemIterator< T, 4 > &p, EvalFunctor_0)
 
template<class T >
AppTypeTraits< T >::Element_t & for_each (ParticleAttribElemIterator< T, 5 > &p, EvalFunctor_0)
 
template<class T >
AppTypeTraits< T >::Element_t & for_each (ParticleAttribElemIterator< T, 6 > &p, EvalFunctor_0)
 
template<class T , class C >
int for_each (const ParticleAttribIterator< T > &p, PETE_CountElems, C)
 
template<class T , class C >
int for_each (const ParticleAttribConstIterator< T > &p, PETE_CountElems, C)
 
template<class T , class C >
int for_each (const ParticleAttribElemIterator< T, 1 > &p, PETE_CountElems, C)
 
template<class T , class C >
int for_each (const ParticleAttribElemIterator< T, 2 > &p, PETE_CountElems, C)
 
template<class T , class C >
int for_each (const ParticleAttribElemIterator< T, 3 > &p, PETE_CountElems, C)
 
template<class T , class C >
int for_each (const ParticleAttribElemIterator< T, 4 > &p, PETE_CountElems, C)
 
template<class T , class C >
int for_each (const ParticleAttribElemIterator< T, 5 > &p, PETE_CountElems, C)
 
template<class T , class C >
int for_each (const ParticleAttribElemIterator< T, 6 > &p, PETE_CountElems, C)
 
template<class T , class C >
int for_each (ParticleAttribIterator< T > &p, PETE_Increment, C)
 
template<class T , class C >
int for_each (ParticleAttribConstIterator< T > &p, PETE_Increment, C)
 
template<class T , class C >
int for_each (ParticleAttribElemIterator< T, 1 > &p, PETE_Increment, C)
 
template<class T , class C >
int for_each (ParticleAttribElemIterator< T, 2 > &p, PETE_Increment, C)
 
template<class T , class C >
int for_each (ParticleAttribElemIterator< T, 3 > &p, PETE_Increment, C)
 
template<class T , class C >
int for_each (ParticleAttribElemIterator< T, 4 > &p, PETE_Increment, C)
 
template<class T , class C >
int for_each (ParticleAttribElemIterator< T, 5 > &p, PETE_Increment, C)
 
template<class T , class C >
int for_each (ParticleAttribElemIterator< T, 6 > &p, PETE_Increment, C)
 

Macro Definition Documentation

◆ DEFINE_COUNTFUNCTOR_PAE

#define DEFINE_COUNTFUNCTOR_PAE (   D)
Value:
\
template<class T, class C> \
inline int \
{ \
return p.getParticleAttribElem().size(); \
}
T & for_each(ParticleAttribIterator< T > &p, EvalFunctor_0)
Definition: PAssignDefs.h:32

Definition at line 81 of file PAssignDefs.h.

◆ DEFINE_EVALFUNCTOR_PAE

#define DEFINE_EVALFUNCTOR_PAE (   D)
Value:
\
template<class T> \
inline typename AppTypeTraits<T>::Element_t& \
{ \
return *p; \
}
T::Element_t Element_t
Definition: AppTypeTraits.h:19

Definition at line 44 of file PAssignDefs.h.

◆ DEFINE_INCFUNCTOR_PAE

#define DEFINE_INCFUNCTOR_PAE (   D)
Value:
\
template<class T, class C> \
inline int \
{ \
++p; \
return 0; \
}

Definition at line 120 of file PAssignDefs.h.

Function Documentation

◆ for_each() [1/24]

template<class T , class C >
int for_each ( const ParticleAttribConstIterator< T > &  p,
PETE_CountElems  ,
 
)
inline

Definition at line 76 of file PAssignDefs.h.

References ParticleAttribConstIterator< T >::size().

Here is the call graph for this function:

◆ for_each() [2/24]

template<class T , class C >
int for_each ( const ParticleAttribElemIterator< T, 1 > &  p,
PETE_CountElems  ,
 
)
inline

Definition at line 90 of file PAssignDefs.h.

◆ for_each() [3/24]

template<class T , class C >
int for_each ( const ParticleAttribElemIterator< T, 2 > &  p,
PETE_CountElems  ,
 
)
inline

Definition at line 91 of file PAssignDefs.h.

◆ for_each() [4/24]

template<class T , class C >
int for_each ( const ParticleAttribElemIterator< T, 3 > &  p,
PETE_CountElems  ,
 
)
inline

Definition at line 92 of file PAssignDefs.h.

◆ for_each() [5/24]

template<class T , class C >
int for_each ( const ParticleAttribElemIterator< T, 4 > &  p,
PETE_CountElems  ,
 
)
inline

Definition at line 93 of file PAssignDefs.h.

◆ for_each() [6/24]

template<class T , class C >
int for_each ( const ParticleAttribElemIterator< T, 5 > &  p,
PETE_CountElems  ,
 
)
inline

Definition at line 94 of file PAssignDefs.h.

◆ for_each() [7/24]

template<class T , class C >
int for_each ( const ParticleAttribElemIterator< T, 6 > &  p,
PETE_CountElems  ,
 
)
inline

Definition at line 95 of file PAssignDefs.h.

◆ for_each() [8/24]

template<class T , class C >
int for_each ( const ParticleAttribIterator< T > &  p,
PETE_CountElems  ,
 
)
inline

Definition at line 69 of file PAssignDefs.h.

◆ for_each() [9/24]

template<class T >
const T& for_each ( ParticleAttribConstIterator< T > &  p,
EvalFunctor_0   
)
inline

Definition at line 39 of file PAssignDefs.h.

◆ for_each() [10/24]

template<class T , class C >
int for_each ( ParticleAttribConstIterator< T > &  p,
PETE_Increment  ,
 
)
inline

Definition at line 114 of file PAssignDefs.h.

◆ for_each() [11/24]

template<class T >
AppTypeTraits<T>::Element_t& for_each ( ParticleAttribElemIterator< T, 1 > &  p,
EvalFunctor_0   
)
inline

Definition at line 53 of file PAssignDefs.h.

◆ for_each() [12/24]

template<class T , class C >
int for_each ( ParticleAttribElemIterator< T, 1 > &  p,
PETE_Increment  ,
 
)
inline

Definition at line 130 of file PAssignDefs.h.

◆ for_each() [13/24]

template<class T >
AppTypeTraits<T>::Element_t& for_each ( ParticleAttribElemIterator< T, 2 > &  p,
EvalFunctor_0   
)
inline

Definition at line 54 of file PAssignDefs.h.

◆ for_each() [14/24]

template<class T , class C >
int for_each ( ParticleAttribElemIterator< T, 2 > &  p,
PETE_Increment  ,
 
)
inline

Definition at line 131 of file PAssignDefs.h.

◆ for_each() [15/24]

template<class T >
AppTypeTraits<T>::Element_t& for_each ( ParticleAttribElemIterator< T, 3 > &  p,
EvalFunctor_0   
)
inline

Definition at line 55 of file PAssignDefs.h.

◆ for_each() [16/24]

template<class T , class C >
int for_each ( ParticleAttribElemIterator< T, 3 > &  p,
PETE_Increment  ,
 
)
inline

Definition at line 132 of file PAssignDefs.h.

◆ for_each() [17/24]

template<class T >
AppTypeTraits<T>::Element_t& for_each ( ParticleAttribElemIterator< T, 4 > &  p,
EvalFunctor_0   
)
inline

Definition at line 56 of file PAssignDefs.h.

◆ for_each() [18/24]

template<class T , class C >
int for_each ( ParticleAttribElemIterator< T, 4 > &  p,
PETE_Increment  ,
 
)
inline

Definition at line 133 of file PAssignDefs.h.

◆ for_each() [19/24]

template<class T >
AppTypeTraits<T>::Element_t& for_each ( ParticleAttribElemIterator< T, 5 > &  p,
EvalFunctor_0   
)
inline

Definition at line 57 of file PAssignDefs.h.

◆ for_each() [20/24]

template<class T , class C >
int for_each ( ParticleAttribElemIterator< T, 5 > &  p,
PETE_Increment  ,
 
)
inline

Definition at line 134 of file PAssignDefs.h.

◆ for_each() [21/24]

template<class T >
AppTypeTraits<T>::Element_t& for_each ( ParticleAttribElemIterator< T, 6 > &  p,
EvalFunctor_0   
)
inline

Definition at line 58 of file PAssignDefs.h.

◆ for_each() [22/24]

template<class T , class C >
int for_each ( ParticleAttribElemIterator< T, 6 > &  p,
PETE_Increment  ,
 
)
inline

Definition at line 135 of file PAssignDefs.h.

◆ for_each() [23/24]

template<class T >
T& for_each ( ParticleAttribIterator< T > &  p,
EvalFunctor_0   
)
inline

Definition at line 32 of file PAssignDefs.h.

◆ for_each() [24/24]

template<class T , class C >
int for_each ( ParticleAttribIterator< T > &  p,
PETE_Increment  ,
 
)
inline

Definition at line 106 of file PAssignDefs.h.