swakModuloOp Struct Reference

A modulo operation similar to that used in swak4foam. More...

Public Member Functions

scalar operator() (const scalar &a, const scalar &b) const
 

Detailed Description

A modulo operation similar to that used in swak4foam.

This operation produces values in the -1/2 to +1/2 range.

Definition at line 59 of file exprDriverOps.H.

Member Function Documentation

◆ operator()()

scalar operator() ( const scalar &  a,
const scalar &  b 
) const
inline

Definition at line 61 of file exprDriverOps.H.

References b, and Foam::mag().

Here is the call graph for this function:

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