SG++-Doxygen-Documentation
|
Quadrature on sparse grid, linear grid without boundaries. More...
#include <OperationQuadratureLinearBoundary.hpp>
Public Member Functions | |
double | doQuadrature (DataVector &alpha) override |
Quadrature for piecewise linear hat basis functions. More... | |
OperationQuadratureLinearBoundary (GridStorage &storage) | |
Constructor of OperationQuadratureLinear. More... | |
~OperationQuadratureLinearBoundary () override | |
Public Member Functions inherited from sgpp::base::OperationQuadrature | |
OperationQuadrature () | |
Constructor. More... | |
virtual | ~OperationQuadrature () |
Destructor. More... | |
Protected Attributes | |
GridStorage & | storage |
Quadrature on sparse grid, linear grid without boundaries.
|
inlineexplicit |
Constructor of OperationQuadratureLinear.
storage | Pointer to the grid's GridStorage object |
|
inlineoverride |
References alpha, and doQuadrature().
|
overridevirtual |
Quadrature for piecewise linear hat basis functions.
Computes
\[ \sum_{\vec{l}} 2^{-|\vec{l}|}\alpha_{\vec{l}}. \]
alpha | Coefficient vector for current grid |
Implements sgpp::base::OperationQuadrature.
References sgpp::base::HashGridStorage::begin(), sgpp::base::HashGridStorage::end(), sgpp::base::DataVector::get(), sgpp::base::HashGridStorage::getBoundingBox(), sgpp::base::HashGridStorage::getDimension(), sgpp::base::BoundingBox::getIntervalWidth(), sgpp::combigrid::pow(), storage, and analyse_erg::tmp.
Referenced by ~OperationQuadratureLinearBoundary().
|
protected |
Referenced by doQuadrature().