Functor to negate primitives. Dummy for most other types. More...
Public Member Functions | |
template<class T > | |
T | operator() (const T &val) const |
template<> | |
Foam::scalar | operator() (const scalar &v) const |
template<> | |
Foam::vector | operator() (const vector &v) const |
template<> | |
Foam::sphericalTensor | operator() (const sphericalTensor &v) const |
template<> | |
Foam::symmTensor | operator() (const symmTensor &v) const |
template<> | |
Foam::tensor | operator() (const tensor &v) const |
template<> | |
Foam::triad | operator() (const triad &v) const |
template<> | |
scalar | operator() (const scalar &) const |
template<> | |
vector | operator() (const vector &) const |
template<> | |
sphericalTensor | operator() (const sphericalTensor &) const |
template<> | |
symmTensor | operator() (const symmTensor &) const |
template<> | |
tensor | operator() (const tensor &) const |
template<> | |
triad | operator() (const triad &) const |
Functor to negate primitives. Dummy for most other types.
Foam::vector operator() | ( | const vector & | v | ) | const |
Foam::sphericalTensor operator() | ( | const sphericalTensor & | v | ) | const |
Foam::symmTensor operator() | ( | const symmTensor & | v | ) | const |
Foam::tensor operator() | ( | const tensor & | v | ) | const |
Foam::triad operator() | ( | const triad & | v | ) | const |
scalar operator() | ( | const scalar & | ) | const |
sphericalTensor operator() | ( | const sphericalTensor & | ) | const |
symmTensor operator() | ( | const symmTensor & | ) | const |