O P A R - Open Architecture Particle in Cell Simulation - Version 3.0
Plasma simulations with dust particles
|
A collection of operators for the Position_ class. More...
Functions | |
template<class T > | |
Position_< T > | operator- (const Position_< T > &A, T b) |
template<class T > | |
Position_< T > | operator- (T a, const Position_< T > &B) |
template<class T > | |
Position_< T > | operator+ (const Position_< T > &A, T b) |
template<class T > | |
Position_< T > | operator- (const Position_< T > &A, const Position_< T > &B) |
template<class T > | |
Position_< T > | operator+ (const Position_< T > &A, const Position_< T > &B) |
template<class T1 , class T2 > | |
double | operator* (const Position_< T1 > &A, const Position_< T2 > &B) |
template<class T1 , class T2 > | |
Position_< T1 > & | operator*= (Position_< T1 > &A, T2 B) |
template<class T > | |
Position_< T > & | operator*= (Position_< T > &A, const Position_< T > &B) |
template<class T1 , class T2 > | |
Position_< T1 > & | operator*= (Position_< T1 > &A, const Position_< T2 > &B) |
template<class T1 , class T2 > | |
Position_< T1 > & | operator+= (Position_< T1 > &A, const Position_< T2 > &B) |
template<class T > | |
Position_< T > | operator* (const Position_< T > &A, T B) |
template<class T > | |
Position_< T > | operator/ (const Position_< T > &A, T B) |
template<class T > | |
Position_< T > | operator/ (const Position_< T > &A, const Position_< T > &B) |
template<class T1 , class T2 > | |
bool | operator< (const Position_< T1 > &A, const Position_< T2 > &B) |
template<class T1 , class T2 > | |
bool | operator> (const Position_< T1 > &A, const Position_< T2 > &B) |
template<class T1 , class T2 > | |
bool | operator== (const Position_< T1 > &A, const Position_< T2 > &B) |
A collection of operators for the Position_ class.
Defines P1-x, x-P1, P1-P2, P1+x, P1+P2, P1*=x, P1*x, P1/x
The scalar product P1*P2*P3
Nonuniform stretching P1*=P2 and P1/P2
Comparison P1==P2 return true if all components are equal. P1<P1 (P1>P2) return true if at least one component of P1 is < (>) than the according component in P2
double operator* | ( | const Position_< T1 > & | A, |
const Position_< T2 > & | B | ||
) |
Position_<T1>& operator*= | ( | Position_< T1 > & | A, |
const Position_< T2 > & | B | ||
) |
Position_<T1>& operator+= | ( | Position_< T1 > & | A, |
const Position_< T2 > & | B | ||
) |
bool operator< | ( | const Position_< T1 > & | A, |
const Position_< T2 > & | B | ||
) |
bool operator== | ( | const Position_< T1 > & | A, |
const Position_< T2 > & | B | ||
) |
bool operator> | ( | const Position_< T1 > & | A, |
const Position_< T2 > & | B | ||
) |