scalarModuloOp< T, T2 > Struct Template Reference

Floating point modulo operation with divide-by-zero protection. More...

Public Member Functions

T operator() (const T &x, const T2 &y) const
 

Detailed Description

template<class T, class T2 = Foam::scalar>
struct Foam::scalarModuloOp< T, T2 >

Floating point modulo operation with divide-by-zero protection.

Definition at line 71 of file scalarOps.H.

Member Function Documentation

◆ operator()()

T operator() ( const T x,
const T2 &  y 
) const
inline

Definition at line 73 of file scalarOps.H.

References Foam::mag(), x, and y.

Here is the call graph for this function:

The documentation for this struct was generated from the following file: