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

#include <Interpolation.hpp>

Inheritance diagram for polyfem::utils::PiecewiseConstantInterpolation:
[legend]
Collaboration diagram for polyfem::utils::PiecewiseConstantInterpolation:
[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 70 of file Interpolation.hpp.

Member Function Documentation

◆ dy_dt_piece()

double polyfem::utils::PiecewiseConstantInterpolation::dy_dt_piece ( const double  t,
const int  i 
) const
inlineoverrideprotectedvirtual

Implements polyfem::utils::PiecewiseInterpolation.

Definition at line 74 of file Interpolation.hpp.

◆ eval_piece()

double polyfem::utils::PiecewiseConstantInterpolation::eval_piece ( const double  t,
const int  i 
) const
inlineoverrideprotectedvirtual

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