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

Compare scalar values. More...

#include <scalarImpl.H>

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

Public Member Functions

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

Public Attributes

const Scalar tolerance

Detailed Description

Compare scalar values.

Definition at line 545 of file scalarImpl.H.

Constructor & Destructor Documentation

◆ compareOp()

compareOp ( Scalar tol = ScalarVSMALL)
inline

Construct with specified tolerance (non-negative value).

Definition at line 552 of file scalarImpl.H.

References Scalar, ScalarVSMALL, and tolerance.

Member Function Documentation

◆ operator()()

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

Definition at line 557 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 547 of file scalarImpl.H.

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


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