Loading...
Searching...
No Matches
notEqualOp< Scalar > Struct Reference

Compare scalar values for inequality. More...

#include <scalarImpl.H>

Inheritance diagram for notEqualOp< Scalar >:
Collaboration diagram for notEqualOp< Scalar >:

Public Member Functions

 notEqualOp (Scalar tol=ScalarVSMALL)
 Construct with specified tolerance (non-negative value).
bool operator() (const Scalar &a, const Scalar &b) const

Public Attributes

const Scalar tolerance

Detailed Description

Compare scalar values for inequality.

Definition at line 597 of file scalarImpl.H.

Constructor & Destructor Documentation

◆ notEqualOp()

notEqualOp ( Scalar tol = ScalarVSMALL)
inline

Construct with specified tolerance (non-negative value).

Definition at line 604 of file scalarImpl.H.

References Scalar, ScalarVSMALL, and tolerance.

Member Function Documentation

◆ operator()()

bool operator() ( const Scalar & a,
const Scalar & b ) const
inline

Definition at line 609 of file scalarImpl.H.

References b, Foam::mag(), Scalar, and tolerance.

Here is the call graph for this function:

Member Data Documentation

◆ tolerance

const Scalar tolerance

Definition at line 599 of file scalarImpl.H.

Referenced by notEqualOp(), and operator()().


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