PolyFEM
|
#include <QuadraticBSpline.hpp>
Public Member Functions | |
QuadraticBSpline () | |
QuadraticBSpline (const std::array< double, 4 > &knots) | |
void | init (const std::array< double, 4 > &knots) |
void | interpolate (const Eigen::MatrixXd &ts, Eigen::MatrixXd &result) const |
double | interpolate (const double t) const |
void | derivative (const Eigen::MatrixXd &ts, Eigen::MatrixXd &result) const |
double | derivative (const double t) const |
Private Attributes | |
std::array< double, 4 > | knots_ |
Definition at line 11 of file QuadraticBSpline.hpp.
|
inline |
Definition at line 14 of file QuadraticBSpline.hpp.
|
inline |
Definition at line 15 of file QuadraticBSpline.hpp.
double polyfem::basis::QuadraticBSpline::derivative | ( | const double | t | ) | const |
Definition at line 51 of file QuadraticBSpline.cpp.
References knots_.
void polyfem::basis::QuadraticBSpline::derivative | ( | const Eigen::MatrixXd & | ts, |
Eigen::MatrixXd & | result | ||
) | const |
Definition at line 43 of file QuadraticBSpline.cpp.
References derivative().
Referenced by derivative(), polyfem::basis::QuadraticBSpline2d::derivative(), and polyfem::basis::QuadraticBSpline3d::derivative().
void polyfem::basis::QuadraticBSpline::init | ( | const std::array< double, 4 > & | knots | ) |
Definition at line 9 of file QuadraticBSpline.cpp.
References knots_.
Referenced by polyfem::basis::QuadraticBSpline2d::init(), and polyfem::basis::QuadraticBSpline3d::init().
double polyfem::basis::QuadraticBSpline::interpolate | ( | const double | t | ) | const |
Definition at line 22 of file QuadraticBSpline.cpp.
References knots_.
void polyfem::basis::QuadraticBSpline::interpolate | ( | const Eigen::MatrixXd & | ts, |
Eigen::MatrixXd & | result | ||
) | const |
Definition at line 14 of file QuadraticBSpline.cpp.
References interpolate().
Referenced by polyfem::basis::QuadraticBSpline2d::derivative(), polyfem::basis::QuadraticBSpline3d::derivative(), polyfem::basis::QuadraticBSpline2d::interpolate(), polyfem::basis::QuadraticBSpline3d::interpolate(), and interpolate().
|
private |
Definition at line 29 of file QuadraticBSpline.hpp.
Referenced by derivative(), init(), and interpolate().