notEqualOp< Scalar > Struct Reference

Compare scalar values for inequality. More...

Public Member Functions

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

Public Attributes

const Scalar tolerance

Detailed Description

Compare scalar values for inequality.

Definition at line 498 of file Scalar.H.

Constructor & Destructor Documentation

◆ notEqualOp()

notEqualOp ( Scalar  tol = ScalarVSMALL)

Construct with specified tolerance (non-negative value)

Definition at line 503 of file Scalar.H.

Member Function Documentation

◆ operator()()

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

Definition at line 508 of file Scalar.H.

References b, and Foam::mag().

Here is the call graph for this function:

Member Data Documentation

◆ tolerance

const Scalar tolerance

Definition at line 500 of file Scalar.H.

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