![]() |
SG++-Doxygen-Documentation
|
Quadrature on sparse grid, linear grid without boundaries. More...
#include <OperationQuadratureLinear.hpp>
Public Member Functions | |
| double | doQuadrature (DataVector &alpha) override |
| Quadrature for piecewise linear hat basis functions. More... | |
| OperationQuadratureLinear (GridStorage &storage) | |
| Constructor of OperationQuadratureLinear. More... | |
| ~OperationQuadratureLinear () 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(), and storage.
Referenced by ~OperationQuadratureLinear().
|
protected |
Referenced by doQuadrature().