tfel
Loading...
Searching...
No Matches
tfel::check::LinearInterpolation Struct Reference
Inheritance diagram for tfel::check::LinearInterpolation:
tfel::check::Interpolation

Public Member Functions

 LinearInterpolation (LinearInterpolation &&) noexcept
 LinearInterpolation (const LinearInterpolation &)
LinearInterpolation & operator= (LinearInterpolation &&) noexcept
LinearInterpolation & operator= (const LinearInterpolation &)
void interpolate (const std::vector< double > &, const std::vector< double > &) override
 stores the values of abscissa and ordinate and does the interpolation
double getValue (const double) const override
 returns the value at time in parameter
std::string getType () const override
 returns the type of interpolation
bool isConform () const override
 check if interpolation is usable or not
std::shared_ptr< Interpolation > clone () const override
Public Member Functions inherited from tfel::check::Interpolation
 Interpolation (Interpolation &&) noexcept
 Interpolation (const Interpolation &)
Interpolation & operator= (Interpolation &&) noexcept
Interpolation & operator= (const Interpolation &)
virtual ~Interpolation ()
 destructor

Member Function Documentation

◆ clone()

std::shared_ptr< Interpolation > tfel::check::LinearInterpolation::clone ( ) const
nodiscardoverridevirtual

◆ getType()

std::string tfel::check::LinearInterpolation::getType ( ) const
nodiscardoverridevirtual

returns the type of interpolation

Returns
string : type of interpolation

Implements tfel::check::Interpolation.

◆ getValue()

double tfel::check::LinearInterpolation::getValue ( const double ) const
nodiscardoverridevirtual

returns the value at time in parameter

Parameters
[in]x
Returns
value at time in parameter

Implements tfel::check::Interpolation.

◆ interpolate()

void tfel::check::LinearInterpolation::interpolate ( const std::vector< double > & ,
const std::vector< double > &  )
overridevirtual

stores the values of abscissa and ordinate and does the interpolation

Parameters
[in]times
[in]values

Implements tfel::check::Interpolation.

◆ isConform()

bool tfel::check::LinearInterpolation::isConform ( ) const
nodiscardoverridevirtual

check if interpolation is usable or not

Returns
true if interpolation type is other than None, otherwise returns false

Implements tfel::check::Interpolation.


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