Loading...
Searching...
No Matches
onlineInterp Class Reference

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.
 

Detailed Description

Class for the online evaluation of the coefficient manifold for PODI.

Definition at line 117 of file ReducedProblem.H.

Constructor & Destructor Documentation

◆ onlineInterp()

onlineInterp::onlineInterp ( )

Construct Null.

Definition at line 180 of file ReducedProblem.C.

◆ ~onlineInterp()

virtual onlineInterp::~onlineInterp ( )
inlinevirtual

Definition at line 123 of file ReducedProblem.H.

Member Function Documentation

◆ getInterpCoeffRBF()

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.

Parameters
[in]modelType 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
Returns
Interpolated coefficient matrix

Definition at line 186 of file ReducedProblem.C.

◆ getInterpCoeffSPL()

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.

Parameters
[in]modelType 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
Returns
Interpolated coefficient matrix

Definition at line 233 of file ReducedProblem.C.

Member Data Documentation

◆ Nmu_samples

int onlineInterp::Nmu_samples

Number of parameters in the mu_samples matrix in the FOM.

Definition at line 126 of file ReducedProblem.H.


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