Class for the online evaluation of the coefficient manifold for PODI. More...
#include <ReducedProblem.H>
Public Member Functions | |
onlineInterp () | |
Construct Null. | |
virtual | ~onlineInterp () |
Eigen::MatrixXd | getInterpCoeffRBF (std::vector< SPLINTER::RBFSpline > rbfVec, Eigen::MatrixXd mu_interp) |
Get interpolated coefficients evaluated at points from matrix "mu_interp" using the constructed parameters-coefficients manifold. | |
Eigen::MatrixXd | getInterpCoeffSPL (std::vector< SPLINTER::BSpline > splVec, Eigen::MatrixXd mu_interp) |
Get interpolated coefficients evaluated at points from matrix "mu_interp" using the constructed parameters-coefficients manifold. | |
Public Attributes | |
int | Nmu_samples |
Number of parameters in the mu_samples matrix in the FOM. | |
Class for the online evaluation of the coefficient manifold for PODI.
Definition at line 117 of file ReducedProblem.H.
onlineInterp::onlineInterp | ( | ) |
Construct Null.
Definition at line 180 of file ReducedProblem.C.
|
inlinevirtual |
Definition at line 123 of file ReducedProblem.H.
Eigen::MatrixXd onlineInterp::getInterpCoeffRBF | ( | std::vector< SPLINTER::RBFSpline > | rbfVec, |
Eigen::MatrixXd | mu_interp ) |
Get interpolated coefficients evaluated at points from matrix "mu_interp" using the constructed parameters-coefficients manifold.
[in] | model | Type of the interpolator model, either "rbf" or spl", which must be the same as in the constructed model in the offline phase (see "buildCoeffManifold" method) @param [in] mu_interp The matrix of points required to be evaluated using the constructed interpolator model. The matrix has a shape (n x m) where "n" is the number of points need to be evaluated (i.e. Nsnapshots) for parametric simulations, while "m" is the number of parameters |
Definition at line 186 of file ReducedProblem.C.
Eigen::MatrixXd onlineInterp::getInterpCoeffSPL | ( | std::vector< SPLINTER::BSpline > | splVec, |
Eigen::MatrixXd | mu_interp ) |
Get interpolated coefficients evaluated at points from matrix "mu_interp" using the constructed parameters-coefficients manifold.
[in] | model | Type of the interpolator model, either "rbf" or spl", which must be the same as in the constructed model in the offline phase (see "buildCoeffManifold" method) @param [in] mu_interp The matrix of points required to be evaluated using the constructed interpolator model. The matrix has a shape (n x m) where "n" is the number of points need to be evaluated (i.e. Nsnapshots) for parametric simulations, while "m" is the number of parameters |
Definition at line 233 of file ReducedProblem.C.
int onlineInterp::Nmu_samples |
Number of parameters in the mu_samples matrix in the FOM.
Definition at line 126 of file ReducedProblem.H.