1 #ifndef __RBF_INTERPOLATION__ 2 #define __RBF_INTERPOLATION__ 4 #include <eigen/Eigen/Dense> 5 #include "ROL_OptimizationProblem.hpp" 6 #include "ROL_StdVector.hpp" 9 namespace ProperOrthogonalDecomposition {
10 using Eigen::MatrixXd;
11 using Eigen::VectorXd;
12 using Eigen::RowVectorXd;
28 double evaluate(
const RowVectorXd& evaluate_coordinate)
const;
45 typedef ROL::Vector<double>
V;
48 template<
class VectorType>
50 return dynamic_cast<const VectorType&
>((x)).getVector();
54 double value(
const ROL::Vector<double> &x,
double & );
std::vector< double > vector
ROL required.
ROL::Vector< double > V
ROL required.
ROL::Ptr< const vector > getVector(const V &x)
ROL required.
double evaluate(const RowVectorXd &evaluate_coordinate) const
Evaluate RBF.
Files for the baseline physics.
const MatrixXd data_coordinates
Data coordinates.
const VectorXd data_values
Data values.
RBFInterpolation(const MatrixXd &data_coordinates, const VectorXd &data_values, std::string kernel)
Constructor.
double radialBasisFunction(double r) const
Choose radial basis function.
void computeWeights()
Compute RBF interpolation weights.
Radial basis function interpolation.
const std::string kernel
RBF kernel.
double value(const ROL::Vector< double > &x, double &)
ROL evaluate value.
VectorXd weights
RBF weights.