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

#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_
 

Detailed Description

Definition at line 16 of file RBFInterpolation.hpp.

Constructor & Destructor Documentation

◆ RBFInterpolation() [1/3]

polyfem::utils::RBFInterpolation::RBFInterpolation ( )
inline

Definition at line 19 of file RBFInterpolation.hpp.

◆ RBFInterpolation() [2/3]

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().

Here is the call graph for this function:

◆ RBFInterpolation() [3/3]

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().

Here is the call graph for this function:

Member Function Documentation

◆ init() [1/2]

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().

Here is the caller graph for this function:

◆ init() [2/2]

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().

Here is the call graph for this function:

◆ interpolate()

Eigen::MatrixXd polyfem::utils::RBFInterpolation::interpolate ( const Eigen::MatrixXd &  pts) const

Definition at line 127 of file RBFInterpolation.cpp.

References centers_, mat, rbf_, and weights_.

Member Data Documentation

◆ centers_

Eigen::MatrixXd polyfem::utils::RBFInterpolation::centers_
private

Definition at line 38 of file RBFInterpolation.hpp.

Referenced by init(), and interpolate().

◆ rbf_

std::function<double(double)> polyfem::utils::RBFInterpolation::rbf_
private

Definition at line 41 of file RBFInterpolation.hpp.

Referenced by init(), and interpolate().

◆ weights_

Eigen::MatrixXd polyfem::utils::RBFInterpolation::weights_
private

Definition at line 39 of file RBFInterpolation.hpp.

Referenced by init(), and interpolate().


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