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 |
Functor to negate primitives. Dummy for most other types.
sphericalTensor operator() | ( | const sphericalTensor & | v | ) | const |
symmTensor operator() | ( | const symmTensor & | v | ) | const |
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.