#include <AdaptiveSmolyakQuadrature.h>
Definition at line 12 of file AdaptiveSmolyakQuadrature.h.
Public Member Functions | |
AdaptiveSmolyakQuadrature (std::shared_ptr< muq::Modeling::ModPiece > const &modelIn, std::vector< std::shared_ptr< Quadrature >> const &quad1d) | |
virtual | ~AdaptiveSmolyakQuadrature ()=default |
AdaptiveSmolyakQuadrature::AdaptiveSmolyakQuadrature | ( | std::shared_ptr< muq::Modeling::ModPiece > const & | modelIn, |
std::vector< std::shared_ptr< Quadrature >> const & | quad1d | ||
) |
Definition at line 8 of file AdaptiveSmolyakQuadrature.cpp.
|
virtualdefault |
|
overrideprotectedvirtual |
Implements muq::Approximation::SmolyakEstimator< Eigen::VectorXd >.
Definition at line 52 of file AdaptiveSmolyakQuadrature.cpp.
|
overrideprotectedvirtual |
Implements muq::Approximation::SmolyakEstimator< Eigen::VectorXd >.
Definition at line 58 of file AdaptiveSmolyakQuadrature.cpp.
|
overrideprotectedvirtual |
This function works in tandem with the OneTermPoints function. After the model has been evaluated at the points returned by OneTermPoints, this function will compute an estimate with the new model evaluations. In the quadrature setting, the estimate will be computed with a weighted sum of the model evaluations stored in the modEvals vector.
Implements muq::Approximation::SmolyakEstimator< Eigen::VectorXd >.
Definition at line 34 of file AdaptiveSmolyakQuadrature.cpp.
References cachedMulti, muq::Approximation::FullTensorQuadrature::Compute(), tensQuad, and muq::Approximation::Quadrature::Weights().
|
overrideprotectedvirtual |
Computes the locations where the model will need to be evaluated in order to construct a single tensor-product estimate. For example, in the Smolyak quadrature setting, this function will return the quadrature points coming from the tensor product quadrature rule defined by the multiindex.
This function works in tandem with the ComputeOneTerm function, which takes model evaluations and actually returns the tensor product estimate. These two functions are split to allow the SmolyakEstimator to handle any job scheduling or caching that may be needed for parallel model evaluations.
Implements muq::Approximation::SmolyakEstimator< Eigen::VectorXd >.
Definition at line 21 of file AdaptiveSmolyakQuadrature.cpp.
References cachedMulti, muq::Approximation::FullTensorQuadrature::Compute(), muq::Approximation::Quadrature::Points(), and tensQuad.
|
protected |
Definition at line 32 of file AdaptiveSmolyakQuadrature.h.
Referenced by ComputeOneTerm(), and OneTermPoints().
|
protected |
Definition at line 33 of file AdaptiveSmolyakQuadrature.h.
Referenced by ComputeOneTerm(), and OneTermPoints().