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 Foam::scalar &val) const |
template<> | |
Foam::vector | operator() (const Foam::vector &val) const |
template<> | |
Foam::sphericalTensor | operator() (const Foam::sphericalTensor &val) const |
template<> | |
Foam::symmTensor | operator() (const Foam::symmTensor &val) const |
template<> | |
Foam::tensor | operator() (const Foam::tensor &val) const |
template<> | |
Foam::triad | operator() (const Foam::triad &val) const |
template<> | |
scalar | operator() (const scalar &) const |
Functor to negate primitives. Dummy for most other types.
Used in mesh transformations where face can flip.
vector operator() | ( | const Foam::vector & | val | ) | const |
sphericalTensor operator() | ( | const Foam::sphericalTensor & | val | ) | const |
symmTensor operator() | ( | const Foam::symmTensor & | val | ) | const |
tensor operator() | ( | const Foam::tensor & | val | ) | const |
triad operator() | ( | const Foam::triad & | val | ) | const |
scalar operator() | ( | const scalar & | ) | const |