PolyFEM
|
#include <Interpolation.hpp>
Public Member Functions | |
void | init (const json ¶ms) override |
const Eigen::MatrixXd & | coeffs () const |
Public Member Functions inherited from polyfem::utils::PiecewiseInterpolation | |
double | eval (const double t) const override |
double | extend (const double t) const |
Public Member Functions inherited from polyfem::utils::Interpolation | |
virtual | ~Interpolation () |
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 |
Protected Attributes | |
Eigen::MatrixXd | coeffs_ |
Additional Inherited Members | |
Public Types inherited from polyfem::utils::PiecewiseInterpolation | |
enum class | Extend { CONSTANT , EXTRAPOLATE , REPEAT , REPEAT_OFFSET } |
Static Public Member Functions inherited from polyfem::utils::Interpolation | |
static std::shared_ptr< Interpolation > | build (const json ¶ms) |
Public Attributes inherited from polyfem::utils::PiecewiseInterpolation | |
std::vector< double > | points_ |
std::vector< double > | values_ |
Extend | extend_ |
Definition at line 84 of file Interpolation.hpp.
|
inline |
Definition at line 89 of file Interpolation.hpp.
References coeffs_.
|
overrideprotectedvirtual |
Implements polyfem::utils::PiecewiseInterpolation.
Definition at line 278 of file Interpolation.cpp.
References coeffs_.
|
overrideprotectedvirtual |
Implements polyfem::utils::PiecewiseInterpolation.
Definition at line 272 of file Interpolation.cpp.
References coeffs_.
|
overridevirtual |
Reimplemented from polyfem::utils::PiecewiseInterpolation.
Definition at line 156 of file Interpolation.cpp.
References coeffs_, polyfem::utils::PiecewiseInterpolation::CONSTANT, polyfem::utils::PiecewiseInterpolation::extend_, polyfem::utils::PiecewiseInterpolation::EXTRAPOLATE, polyfem::utils::PiecewiseInterpolation::init(), polyfem::utils::PiecewiseInterpolation::points_, polyfem::utils::PiecewiseInterpolation::REPEAT, polyfem::utils::PiecewiseInterpolation::REPEAT_OFFSET, polyfem::utils::unflatten(), and polyfem::utils::PiecewiseInterpolation::values_.
|
protected |
Definition at line 95 of file Interpolation.hpp.
Referenced by coeffs(), dy_dt_piece(), eval_piece(), and init().