lerpOp< T > Struct Template Reference

Linear interpolation (cf. std::lerp) More...

Public Member Functions

FOAM_NODISCARD T operator() (const T &a, const T &b, const scalar t) const
 

Detailed Description

template<class T>
struct Foam::lerpOp< T >

Linear interpolation (cf. std::lerp)

Definition at line 273 of file ops.H.

Member Function Documentation

◆ operator()()

FOAM_NODISCARD T operator() ( const T a,
const T b,
const scalar  t 
) const
inline

Definition at line 275 of file ops.H.

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

Here is the call graph for this function:

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