compareOp< Scalar > Struct Reference

Compare scalar values. More...

Public Member Functions

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

Public Attributes

const Scalar tolerance

Detailed Description

Compare scalar values.

Definition at line 454 of file Scalar.H.

Constructor & Destructor Documentation

◆ compareOp()

compareOp ( Scalar  tol = ScalarVSMALL)

Construct with specified tolerance (non-negative value)

Definition at line 459 of file Scalar.H.

Member Function Documentation

◆ operator()()

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

Definition at line 464 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 456 of file Scalar.H.

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