PolyFEM
Loading...
Searching...
No Matches
polyfem::utils::PiecewiseLinearInterpolation Class Reference

#include <Interpolation.hpp>

Inheritance diagram for polyfem::utils::PiecewiseLinearInterpolation:
[legend]
Collaboration diagram for polyfem::utils::PiecewiseLinearInterpolation:
[legend]

Protected Member Functions

double eval_piece (const double t, const int i) const override
 
double dy_dt_piece (const double t, const int i) const override
 
- Protected Member Functions inherited from polyfem::utils::PiecewiseInterpolation
double dy_dt (const double t) const
 

Additional Inherited Members

- Public Types inherited from polyfem::utils::PiecewiseInterpolation
enum class  Extend { CONSTANT , EXTRAPOLATE , REPEAT , REPEAT_OFFSET }
 
- Public Member Functions inherited from polyfem::utils::PiecewiseInterpolation
virtual void init (const json &params) override
 
double eval (const double t) const override
 
double extend (const double t) const
 
- Public Member Functions inherited from polyfem::utils::Interpolation
virtual ~Interpolation ()
 
- Static Public Member Functions inherited from polyfem::utils::Interpolation
static std::shared_ptr< Interpolationbuild (const json &params)
 
- Public Attributes inherited from polyfem::utils::PiecewiseInterpolation
std::vector< double > points_
 
std::vector< double > values_
 
Extend extend_
 

Detailed Description

Definition at line 77 of file Interpolation.hpp.

Member Function Documentation

◆ dy_dt_piece()

double polyfem::utils::PiecewiseLinearInterpolation::dy_dt_piece ( const double  t,
const int  i 
) const
overrideprotectedvirtual

◆ eval_piece()

double polyfem::utils::PiecewiseLinearInterpolation::eval_piece ( const double  t,
const int  i 
) const
overrideprotectedvirtual

The documentation for this class was generated from the following files: