Loading...
Searching...
No Matches
lerpOp1< T > Struct Template Reference

Linear interpolation (lerp) with interpolation value defined on construct. More...

#include <ops.H>

Public Member Functions

 lerpOp1 (scalar v)
T operator() (const T &a, const T &b) const

Public Attributes

const scalar value

Detailed Description

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

Linear interpolation (lerp) with interpolation value defined on construct.

Definition at line 284 of file ops.H.

Constructor & Destructor Documentation

◆ lerpOp1()

template<class T>
lerpOp1 ( scalar v)
inline

Definition at line 288 of file ops.H.

References value.

Member Function Documentation

◆ operator()()

template<class T>
T operator() ( const T & a,
const T & b ) const
inlinenodiscard

Definition at line 290 of file ops.H.

References b, Foam::lerp(), Foam::T(), and value.

Here is the call graph for this function:

Member Data Documentation

◆ value

template<class T>
const scalar value

Definition at line 286 of file ops.H.

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


The documentation for this struct was generated from the following file:
  • src/OpenFOAM/primitives/ops/ops.H