Public Member Functions | List of all members
flipOp Class Reference

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
 

Detailed Description

Functor to negate primitives. Dummy for most other types.

Used in mesh transformations where face can flip.

Source files

Definition at line 49 of file flipOp.H.

Member Function Documentation

◆ operator()() [1/7]

T operator() ( const T val) const
inline

Definition at line 52 of file flipOp.H.

◆ operator()() [2/7]

scalar operator() ( const scalar &  v) const

Definition at line 25 of file flipOp.C.

◆ operator()() [3/7]

vector operator() ( const vector v) const

Definition at line 31 of file flipOp.C.

◆ operator()() [4/7]

sphericalTensor operator() ( const sphericalTensor v) const

Definition at line 38 of file flipOp.C.

◆ operator()() [5/7]

symmTensor operator() ( const symmTensor v) const

Definition at line 47 of file flipOp.C.

◆ operator()() [6/7]

tensor operator() ( const tensor v) const

Definition at line 55 of file flipOp.C.

◆ operator()() [7/7]

triad operator() ( const triad v) const

Definition at line 62 of file flipOp.C.


The documentation for this class was generated from the following files: