notEqualOp< Scalar > Struct Template 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

template<>
struct Foam::notEqualOp< Scalar >

Compare scalar values for inequality.

Definition at line 493 of file Scalar.H.

Constructor & Destructor Documentation

◆ notEqualOp()

notEqualOp ( Scalar  tol = ScalarVSMALL)
inline

Construct with specified tolerance (non-negative value)

Definition at line 498 of file Scalar.H.

Member Function Documentation

◆ operator()()

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

Definition at line 503 of file Scalar.H.

References Foam::constant::physicoChemical::b, and Foam::mag().

Here is the call graph for this function:

Member Data Documentation

◆ tolerance

const Scalar tolerance

Definition at line 495 of file Scalar.H.


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