PolyFEM
|
#include <RBFInterpolation.hpp>
Public Member Functions | |
RBFInterpolation () | |
RBFInterpolation (const Eigen::MatrixXd &fun, const Eigen::MatrixXd &pts, const std::function< double(double)> &rbf) | |
void | init (const Eigen::MatrixXd &fun, const Eigen::MatrixXd &pts, const std::function< double(double)> &rbf) |
RBFInterpolation (const Eigen::MatrixXd &fun, const Eigen::MatrixXd &pts, const std::string &rbf, const double eps) | |
void | init (const Eigen::MatrixXd &fun, const Eigen::MatrixXd &pts, const std::string &rbf, const double eps) |
Eigen::MatrixXd | interpolate (const Eigen::MatrixXd &pts) const |
Private Attributes | |
Eigen::MatrixXd | centers_ |
Eigen::MatrixXd | weights_ |
std::function< double(double)> | rbf_ |
Definition at line 16 of file RBFInterpolation.hpp.
|
inline |
Definition at line 19 of file RBFInterpolation.hpp.
polyfem::utils::RBFInterpolation::RBFInterpolation | ( | const Eigen::MatrixXd & | fun, |
const Eigen::MatrixXd & | pts, | ||
const std::function< double(double)> & | rbf | ||
) |
Definition at line 85 of file RBFInterpolation.cpp.
References init().
polyfem::utils::RBFInterpolation::RBFInterpolation | ( | const Eigen::MatrixXd & | fun, |
const Eigen::MatrixXd & | pts, | ||
const std::string & | rbf, | ||
const double | eps | ||
) |
Definition at line 11 of file RBFInterpolation.cpp.
References init().
void polyfem::utils::RBFInterpolation::init | ( | const Eigen::MatrixXd & | fun, |
const Eigen::MatrixXd & | pts, | ||
const std::function< double(double)> & | rbf | ||
) |
Definition at line 94 of file RBFInterpolation.cpp.
References centers_, rbf_, and weights_.
Referenced by init(), polyfem::problem::PointBasedTensorProblem::BCValue::init(), RBFInterpolation(), and RBFInterpolation().
void polyfem::utils::RBFInterpolation::init | ( | const Eigen::MatrixXd & | fun, |
const Eigen::MatrixXd & | pts, | ||
const std::string & | rbf, | ||
const double | eps | ||
) |
Definition at line 16 of file RBFInterpolation.cpp.
References init(), and polyfem::logger().
Eigen::MatrixXd polyfem::utils::RBFInterpolation::interpolate | ( | const Eigen::MatrixXd & | pts | ) | const |
Definition at line 127 of file RBFInterpolation.cpp.
|
private |
Definition at line 38 of file RBFInterpolation.hpp.
Referenced by init(), and interpolate().
|
private |
Definition at line 41 of file RBFInterpolation.hpp.
Referenced by init(), and interpolate().
|
private |
Definition at line 39 of file RBFInterpolation.hpp.
Referenced by init(), and interpolate().