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

Go to the source code of this file.

Macros

#define ASSIGNMENT_OPERATORS_PTCL(FUNC, OP)
 

Functions

template<class T , class RHS , class OP >
void assign (const ParticleAttrib< T > &a, RHS b, OP op)
 
template<class T , unsigned Dim, class RHS , class OP >
void assign (const ParticleAttribElem< T, Dim > &a, RHS b, OP op)
 
template<class T , class OP >
void assign (const ParticleAttrib< T > &a, const T &b, OP op)
 
template<class T , unsigned D, class OP >
void assign (const ParticleAttribElem< T, D > &a, const typename AppTypeTraits< T >::Element_t &b, OP op)
 
template<class T , unsigned D, class RHS >
void assign (const ParticleAttribElem< T, D > &lhs, const PETE_Expr< RHS > &rhs)
 
template<class T , unsigned D>
void assign (const ParticleAttribElem< T, D > &lhs, typename AppTypeTraits< T >::Element_t rhs)
 
template<class T , class RHS >
void assign (const ParticleAttrib< T > &lhs, const PETE_Expr< RHS > &rhs)
 
template<class T >
void assign (const ParticleAttrib< T > &lhs, T rhs)
 
template<class T , unsigned D, class RHS >
void operator<< (const ParticleAttribElem< T, D > &lhs, const PETE_Expr< RHS > &rhs)
 
template<class T , unsigned D>
void operator<< (const ParticleAttribElem< T, D > &lhs, typename AppTypeTraits< T >::Element_t rhs)
 
template<class T , class RHS >
void operator<< (const ParticleAttrib< T > &lhs, const PETE_Expr< RHS > &rhs)
 
template<class T >
void operator<< (const ParticleAttrib< T > &lhs, T rhs)
 
template<class T , unsigned D, class RHS >
void operator+= (const ParticleAttribElem< T, D > &lhs, const PETE_Expr< RHS > &rhs)
 
template<class T , unsigned D>
void operator+= (const ParticleAttribElem< T, D > &lhs, typename AppTypeTraits< T >::Element_t rhs)
 
template<class T , class RHS >
void operator+= (const ParticleAttrib< T > &lhs, const PETE_Expr< RHS > &rhs)
 
template<class T >
void operator+= (const ParticleAttrib< T > &lhs, T rhs)
 
template<class T , unsigned D, class RHS >
void operator-= (const ParticleAttribElem< T, D > &lhs, const PETE_Expr< RHS > &rhs)
 
template<class T , unsigned D>
void operator-= (const ParticleAttribElem< T, D > &lhs, typename AppTypeTraits< T >::Element_t rhs)
 
template<class T , class RHS >
void operator-= (const ParticleAttrib< T > &lhs, const PETE_Expr< RHS > &rhs)
 
template<class T >
void operator-= (const ParticleAttrib< T > &lhs, T rhs)
 
template<class T , unsigned D, class RHS >
void operator*= (const ParticleAttribElem< T, D > &lhs, const PETE_Expr< RHS > &rhs)
 
template<class T , unsigned D>
void operator*= (const ParticleAttribElem< T, D > &lhs, typename AppTypeTraits< T >::Element_t rhs)
 
template<class T , class RHS >
void operator*= (const ParticleAttrib< T > &lhs, const PETE_Expr< RHS > &rhs)
 
template<class T >
void operator*= (const ParticleAttrib< T > &lhs, T rhs)
 
template<class T , unsigned D, class RHS >
void operator/= (const ParticleAttribElem< T, D > &lhs, const PETE_Expr< RHS > &rhs)
 
template<class T , unsigned D>
void operator/= (const ParticleAttribElem< T, D > &lhs, typename AppTypeTraits< T >::Element_t rhs)
 
template<class T , class RHS >
void operator/= (const ParticleAttrib< T > &lhs, const PETE_Expr< RHS > &rhs)
 
template<class T >
void operator/= (const ParticleAttrib< T > &lhs, T rhs)
 
template<class T , unsigned D, class RHS >
void mineq (const ParticleAttribElem< T, D > &lhs, const PETE_Expr< RHS > &rhs)
 
template<class T , unsigned D>
void mineq (const ParticleAttribElem< T, D > &lhs, typename AppTypeTraits< T >::Element_t rhs)
 
template<class T , class RHS >
void mineq (const ParticleAttrib< T > &lhs, const PETE_Expr< RHS > &rhs)
 
template<class T >
void mineq (const ParticleAttrib< T > &lhs, T rhs)
 
template<class T , unsigned D, class RHS >
void maxeq (const ParticleAttribElem< T, D > &lhs, const PETE_Expr< RHS > &rhs)
 
template<class T , unsigned D>
void maxeq (const ParticleAttribElem< T, D > &lhs, typename AppTypeTraits< T >::Element_t rhs)
 
template<class T , class RHS >
void maxeq (const ParticleAttrib< T > &lhs, const PETE_Expr< RHS > &rhs)
 
template<class T >
void maxeq (const ParticleAttrib< T > &lhs, T rhs)
 

Macro Definition Documentation

#define ASSIGNMENT_OPERATORS_PTCL (   FUNC,
  OP 
)
Value:
\
template<class T, unsigned D, class RHS> \
inline void \
FUNC(const ParticleAttribElem<T,D>& lhs, const PETE_Expr<RHS>& rhs) \
{ \
assign(lhs,rhs.PETE_unwrap().MakeExpression(),OP()); \
} \
\
template<class T, unsigned D> \
inline void \
{ \
assign(lhs,PETE_Scalar<typename AppTypeTraits<T>::Element_t>(rhs),OP()); \
} \
\
template<class T, class RHS> \
inline void \
FUNC(const ParticleAttrib<T>& lhs, const PETE_Expr<RHS>& rhs) \
{ \
assign(lhs,rhs.PETE_unwrap().MakeExpression(),OP()); \
} \
\
template<class T> \
inline void \
FUNC(const ParticleAttrib<T>& lhs, T rhs) \
{ \
assign(lhs,PETE_Scalar<T>(rhs),OP()); \
}
Definition: PETE.h:80
Definition: rbendmap.h:8
void assign(const BareField< T, Dim > &a, RHS b, OP op, ExprTag< true >)
#define FUNC(x)
Definition: integrate.cpp:35
T::Element_t Element_t
Definition: AppTypeTraits.h:19

Definition at line 90 of file PAssign.h.

Function Documentation

template<class T , class RHS , class OP >
void assign ( const ParticleAttrib< T > &  a,
RHS  b,
OP  op 
)

Definition at line 58 of file PAssign.hpp.

References ParticleAttrib< T >::begin(), ParticleAttrib< T >::end(), for_each(), INCIPPLSTAT, PETE_apply(), and PETE_Expr< ParticleAttrib< T > >::PETE_unwrap().

Here is the call graph for this function:

template<class T , unsigned Dim, class RHS , class OP >
void assign ( const ParticleAttribElem< T, Dim > &  a,
RHS  b,
OP  op 
)
template<class T , class OP >
void assign ( const ParticleAttrib< T > &  a,
const T b,
OP  op 
)
inline

Definition at line 39 of file PAssign.h.

References assign().

Here is the call graph for this function:

template<class T , unsigned D, class OP >
void assign ( const ParticleAttribElem< T, D > &  a,
const typename AppTypeTraits< T >::Element_t &  b,
OP  op 
)
inline

Definition at line 47 of file PAssign.h.

References assign().

Here is the call graph for this function:

template<class T >
void assign ( const ParticleAttrib< T > &  lhs,
T  rhs 
)
inline

Definition at line 122 of file PAssign.h.

template<class T , unsigned D, class RHS >
void assign ( const ParticleAttribElem< T, D > &  lhs,
const PETE_Expr< RHS > &  rhs 
)
inline

Definition at line 122 of file PAssign.h.

template<class T , unsigned D>
void assign ( const ParticleAttribElem< T, D > &  lhs,
typename AppTypeTraits< T >::Element_t  rhs 
)
inline

Definition at line 122 of file PAssign.h.

template<class T , class RHS >
void assign ( const ParticleAttrib< T > &  lhs,
const PETE_Expr< RHS > &  rhs 
)
inline

Definition at line 122 of file PAssign.h.

template<class T , unsigned D, class RHS >
void maxeq ( const ParticleAttribElem< T, D > &  lhs,
const PETE_Expr< RHS > &  rhs 
)
inline

Definition at line 129 of file PAssign.h.

template<class T , unsigned D>
void maxeq ( const ParticleAttribElem< T, D > &  lhs,
typename AppTypeTraits< T >::Element_t  rhs 
)
inline

Definition at line 129 of file PAssign.h.

template<class T >
void maxeq ( const ParticleAttrib< T > &  lhs,
T  rhs 
)
inline

Definition at line 129 of file PAssign.h.

template<class T , class RHS >
void maxeq ( const ParticleAttrib< T > &  lhs,
const PETE_Expr< RHS > &  rhs 
)
inline

Definition at line 129 of file PAssign.h.

template<class T >
void mineq ( const ParticleAttrib< T > &  lhs,
T  rhs 
)
inline

Definition at line 128 of file PAssign.h.

template<class T , class RHS >
void mineq ( const ParticleAttrib< T > &  lhs,
const PETE_Expr< RHS > &  rhs 
)
inline

Definition at line 128 of file PAssign.h.

template<class T , unsigned D, class RHS >
void mineq ( const ParticleAttribElem< T, D > &  lhs,
const PETE_Expr< RHS > &  rhs 
)
inline

Definition at line 128 of file PAssign.h.

template<class T , unsigned D>
void mineq ( const ParticleAttribElem< T, D > &  lhs,
typename AppTypeTraits< T >::Element_t  rhs 
)
inline

Definition at line 128 of file PAssign.h.

template<class T , unsigned D, class RHS >
void operator*= ( const ParticleAttribElem< T, D > &  lhs,
const PETE_Expr< RHS > &  rhs 
)
inline

Definition at line 126 of file PAssign.h.

template<class T , unsigned D>
void operator*= ( const ParticleAttribElem< T, D > &  lhs,
typename AppTypeTraits< T >::Element_t  rhs 
)
inline

Definition at line 126 of file PAssign.h.

template<class T , class RHS >
void operator*= ( const ParticleAttrib< T > &  lhs,
const PETE_Expr< RHS > &  rhs 
)
inline

Definition at line 126 of file PAssign.h.

template<class T >
void operator*= ( const ParticleAttrib< T > &  lhs,
T  rhs 
)
inline

Definition at line 126 of file PAssign.h.

template<class T >
void operator+= ( const ParticleAttrib< T > &  lhs,
T  rhs 
)
inline

Definition at line 124 of file PAssign.h.

template<class T , unsigned D>
void operator+= ( const ParticleAttribElem< T, D > &  lhs,
typename AppTypeTraits< T >::Element_t  rhs 
)
inline

Definition at line 124 of file PAssign.h.

template<class T , class RHS >
void operator+= ( const ParticleAttrib< T > &  lhs,
const PETE_Expr< RHS > &  rhs 
)
inline

Definition at line 124 of file PAssign.h.

template<class T , unsigned D, class RHS >
void operator+= ( const ParticleAttribElem< T, D > &  lhs,
const PETE_Expr< RHS > &  rhs 
)
inline

Definition at line 124 of file PAssign.h.

template<class T , unsigned D, class RHS >
void operator-= ( const ParticleAttribElem< T, D > &  lhs,
const PETE_Expr< RHS > &  rhs 
)
inline

Definition at line 125 of file PAssign.h.

template<class T , class RHS >
void operator-= ( const ParticleAttrib< T > &  lhs,
const PETE_Expr< RHS > &  rhs 
)
inline

Definition at line 125 of file PAssign.h.

template<class T >
void operator-= ( const ParticleAttrib< T > &  lhs,
T  rhs 
)
inline

Definition at line 125 of file PAssign.h.

template<class T , unsigned D>
void operator-= ( const ParticleAttribElem< T, D > &  lhs,
typename AppTypeTraits< T >::Element_t  rhs 
)
inline

Definition at line 125 of file PAssign.h.

template<class T , class RHS >
void operator/= ( const ParticleAttrib< T > &  lhs,
const PETE_Expr< RHS > &  rhs 
)
inline

Definition at line 127 of file PAssign.h.

template<class T >
void operator/= ( const ParticleAttrib< T > &  lhs,
T  rhs 
)
inline

Definition at line 127 of file PAssign.h.

template<class T , unsigned D, class RHS >
void operator/= ( const ParticleAttribElem< T, D > &  lhs,
const PETE_Expr< RHS > &  rhs 
)
inline

Definition at line 127 of file PAssign.h.

template<class T , unsigned D>
void operator/= ( const ParticleAttribElem< T, D > &  lhs,
typename AppTypeTraits< T >::Element_t  rhs 
)
inline

Definition at line 127 of file PAssign.h.

template<class T , class RHS >
void operator<< ( const ParticleAttrib< T > &  lhs,
const PETE_Expr< RHS > &  rhs 
)
inline

Definition at line 123 of file PAssign.h.

template<class T , unsigned D, class RHS >
void operator<< ( const ParticleAttribElem< T, D > &  lhs,
const PETE_Expr< RHS > &  rhs 
)
inline

Definition at line 123 of file PAssign.h.

template<class T , unsigned D>
void operator<< ( const ParticleAttribElem< T, D > &  lhs,
typename AppTypeTraits< T >::Element_t  rhs 
)
inline

Definition at line 123 of file PAssign.h.

template<class T >
void operator<< ( const ParticleAttrib< T > &  lhs,
T  rhs 
)
inline

Definition at line 123 of file PAssign.h.