23template<
class T,
class RHS,
class OP>
28template<
class T,
unsigned Dim,
class RHS,
class OP>
37template<
class T,
class OP>
45template<
class T,
unsigned D,
class OP>
56#define ASSIGNMENT_OPERATORS_PTCL(FUNC,OP) \
58template<class T, unsigned D, class RHS> \
60FUNC(const ParticleAttribElem<T,D>& lhs, const PETE_Expr<RHS>& rhs) \
62 assign(lhs,rhs.PETE_unwrap().MakeExpression(),OP()); \
65template<class T, unsigned D> \
67FUNC(const ParticleAttribElem<T,D>& lhs, \
68 typename AppTypeTraits<T>::Element_t rhs) \
70 assign(lhs,PETE_Scalar<typename AppTypeTraits<T>::Element_t>(rhs),OP()); \
73template<class T, class RHS> \
75FUNC(const ParticleAttrib<T>& lhs, const PETE_Expr<RHS>& rhs) \
77 assign(lhs,rhs.PETE_unwrap().MakeExpression(),OP()); \
82FUNC(const ParticleAttrib<T>& lhs, T rhs) \
84 assign(lhs,PETE_Scalar<T>(rhs),OP()); \
96#include "Particle/PAssign.hpp"
void maxeq(const ParticleAttribElem< T, D > &lhs, const PETE_Expr< RHS > &rhs)
#define ASSIGNMENT_OPERATORS_PTCL(FUNC, OP)
void assign(const ParticleAttrib< T > &a, RHS b, OP op)
void mineq(const ParticleAttribElem< T, D > &lhs, const PETE_Expr< RHS > &rhs)