Scalar division with divide-by-zero protection. More...
#include <scalarOps.H>
Public Member Functions | |
| T | operator() (const T &x, const T2 &y) const |
Scalar division with divide-by-zero protection.
Uses stabilise, but could also handle as per modulo and return zero
Definition at line 59 of file scalarOps.H.
Definition at line 61 of file scalarOps.H.
References Foam::stabilise(), Foam::T(), x, and y.
