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

Public Member Functions

 SplineInterpolation (SplineInterpolation &&) noexcept
 SplineInterpolation (const SplineInterpolation &)
SplineInterpolation & operator= (SplineInterpolation &&) noexcept
SplineInterpolation & operator= (const SplineInterpolation &)
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 x) 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
 ~SplineInterpolation () override
 destructor
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::SplineInterpolation::clone ( ) const
nodiscardoverridevirtual

◆ getType()

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

returns the type of interpolation

Returns
string : type of interpolation

Implements tfel::check::Interpolation.

◆ getValue()

double tfel::check::SplineInterpolation::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::SplineInterpolation::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::SplineInterpolation::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:
  • SplineInterpolation.hxx