src/Particle/PAssign.h File Reference

#include "Particle/PAssignDefs.h"
#include "PETE/IpplExpressions.h"
#include "AppTypes/AppTypeTraits.h"
#include "Particle/PAssign.cpp"

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.

Defines

#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)


Define 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                                                                 \
FUNC(const ParticleAttribElem<T,D>& lhs,                                    \
     typename AppTypeTraits<T>::Element_t rhs)                              \
{                                                                           \
  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 at line 90 of file PAssign.h.


Function Documentation

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 a, and assign().

Here is the call graph for this function:

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 a, and assign().

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
 

Definition at line 40 of file PAssign.cpp.

References a, CT, for_each(), PETE_apply(), PETE_Expr< ParticleAttribElem< T, Dim > >::PETE_unwrap(), TAU_ASSIGN, TAU_PARTICLE, TAU_PROFILE, and TAU_TYPE_STRING.

Here is the call graph for this function:

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

Definition at line 62 of file PAssign.cpp.

References a, CT, for_each(), PETE_apply(), PETE_Expr< ParticleAttrib< T > >::PETE_unwrap(), TAU_ASSIGN, TAU_PARTICLE, TAU_PROFILE, and TAU_TYPE_STRING.

Here is the call graph for this function:


Generated on Mon Jan 16 14:11:57 2006 for IPPL by  doxygen 1.4.6