SG++-Doxygen-Documentation
Loading...
Searching...
No Matches
sgpp::base::OperationWeightedQuadratureNakBspline Class Reference

Quadrature on sparse grid, not a knot B-spline grid created by transformation of a not a knot B-spline combigrid. More...

#include <OperationWeightedQuadratureNakBspline.hpp>

Inheritance diagram for sgpp::base::OperationWeightedQuadratureNakBspline:
sgpp::base::OperationWeightedQuadrature

Public Member Functions

double doWeightedQuadrature (DataVector &alpha, sgpp::base::DistributionsVector pdfs) override
 Quadrature for not a knot B-spline basis functions w.r.t.
 
 OperationWeightedQuadratureNakBspline (GridStorage &storage, size_t degree, size_t quadOrder)
 Constructor of OperationQuadratureNakBspline.
 
 ~OperationWeightedQuadratureNakBspline () override
 
- Public Member Functions inherited from sgpp::base::OperationWeightedQuadrature
 OperationWeightedQuadrature ()
 Constructor.
 
virtual ~OperationWeightedQuadrature ()
 Destructor.
 

Protected Attributes

SNakBsplineBase base
 NakBsplineCombigrid Basis object.
 
std::shared_ptr< base::DataVectorquadCoordinates
 quadrature rule coordinates
 
size_t quadOrder
 quadrature rule order
 
std::shared_ptr< base::DataVectorquadWeights
 quadrature rule weights
 
GridStoragestorage
 

Detailed Description

Quadrature on sparse grid, not a knot B-spline grid created by transformation of a not a knot B-spline combigrid.

Constructor & Destructor Documentation

◆ OperationWeightedQuadratureNakBspline()

sgpp::base::OperationWeightedQuadratureNakBspline::OperationWeightedQuadratureNakBspline ( GridStorage storage,
size_t  degree,
size_t  quadOrder 
)
inline

Constructor of OperationQuadratureNakBspline.

Parameters
storagePointer to the grid's GridStorage object
degreethe B-spline degree
quadOrderquadrature order

References sgpp::base::GaussLegendreQuadRule1D::getLevelPointsAndWeightsNormalized(), quadCoordinates, quadOrder, and quadWeights.

◆ ~OperationWeightedQuadratureNakBspline()

sgpp::base::OperationWeightedQuadratureNakBspline::~OperationWeightedQuadratureNakBspline ( )
inlineoverride

Member Function Documentation

◆ doWeightedQuadrature()

double sgpp::base::OperationWeightedQuadratureNakBspline::doWeightedQuadrature ( DataVector alpha,
sgpp::base::DistributionsVector  pdfs 
)
overridevirtual

Quadrature for not a knot B-spline basis functions w.r.t.

a probability density function

Parameters
alphaCoefficient vector for current grid
pdfsprobability density functions

Implements sgpp::base::OperationWeightedQuadrature.

References alpha, base, sgpp::base::DistributionsVector::get(), sgpp::base::HashGridStorage::getDimension(), sgpp::base::NakBsplineBasis< LT, IT >::getMean(), sgpp::base::HashGridStorage::getPointIndex(), sgpp::base::HashGridStorage::getPointLevel(), sgpp::base::HashGridStorage::getSize(), quadCoordinates, quadWeights, and storage.

Member Data Documentation

◆ base

SNakBsplineBase sgpp::base::OperationWeightedQuadratureNakBspline::base
protected

NakBsplineCombigrid Basis object.

Referenced by doWeightedQuadrature().

◆ quadCoordinates

std::shared_ptr<base::DataVector> sgpp::base::OperationWeightedQuadratureNakBspline::quadCoordinates
protected

quadrature rule coordinates

Referenced by doWeightedQuadrature(), and OperationWeightedQuadratureNakBspline().

◆ quadOrder

size_t sgpp::base::OperationWeightedQuadratureNakBspline::quadOrder
protected

quadrature rule order

Referenced by OperationWeightedQuadratureNakBspline().

◆ quadWeights

std::shared_ptr<base::DataVector> sgpp::base::OperationWeightedQuadratureNakBspline::quadWeights
protected

quadrature rule weights

Referenced by doWeightedQuadrature(), and OperationWeightedQuadratureNakBspline().

◆ storage

GridStorage& sgpp::base::OperationWeightedQuadratureNakBspline::storage
protected

Referenced by doWeightedQuadrature().


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