SG++-Doxygen-Documentation
sgpp::combigrid::AbstractFullGridSummationStrategy< V > Class Template Referenceabstract

#include <AbstractFullGridSummationStrategy.hpp>

Inheritance diagram for sgpp::combigrid::AbstractFullGridSummationStrategy< V >:

Public Member Functions

AbstractFullGridSummationStrategy (std::shared_ptr< AbstractCombigridStorage > storage, std::vector< std::shared_ptr< AbstractLinearEvaluator< V >>> evaluatorPrototypes, std::vector< std::shared_ptr< AbstractPointHierarchy >> pointHierarchies)
Constructor. More...

virtual V eval (MultiIndex const &level)=0

void setParameters (std::vector< V > const &params)
Sets the parameters for the evaluators. More...

virtual ~AbstractFullGridSummationStrategy ()

Protected Attributes

std::vector< std::vector< V > > basisValues
For each dimension, this contains a vector of weights which are used as coefficients for linearly combining the function values at different grid points. More...

std::vector< std::shared_ptr< AbstractLinearEvaluator< V > > > evaluatorPrototypes

std::vector< std::vector< std::shared_ptr< AbstractLinearEvaluator< V > > > > evaluators

std::vector< V > parameters

std::vector< V > partialProducts

std::vector< std::shared_ptr< AbstractPointHierarchy > > pointHierarchies

std::shared_ptr< AbstractCombigridStoragestorage

◆ AbstractFullGridSummationStrategy()

template<typename V >
 sgpp::combigrid::AbstractFullGridSummationStrategy< V >::AbstractFullGridSummationStrategy ( std::shared_ptr< AbstractCombigridStorage > storage, std::vector< std::shared_ptr< AbstractLinearEvaluator< V >>> evaluatorPrototypes, std::vector< std::shared_ptr< AbstractPointHierarchy >> pointHierarchies )
inline

Constructor.

Parameters
 storage Storage that stores and provides the function values for each grid point. evaluatorPrototypes prototype objects for the evaluators that are cloned to get an evaluator for each dimension and each level. pointHierarchies PointHierarchy objects for each dimension providing the points for each level and information about their ordering.

◆ ~AbstractFullGridSummationStrategy()

template<typename V >
 virtual sgpp::combigrid::AbstractFullGridSummationStrategy< V >::~AbstractFullGridSummationStrategy ( )
inlinevirtual

◆ eval()

template<typename V >
 virtual V sgpp::combigrid::AbstractFullGridSummationStrategy< V >::eval ( MultiIndex const & level )
pure virtual

◆ setParameters()

template<typename V >
 void sgpp::combigrid::AbstractFullGridSummationStrategy< V >::setParameters ( std::vector< V > const & params )
inline

Sets the parameters for the evaluators.

Each dimension in which the evaluator does not need a parameter is skipped. So if only the evaluators at dimensions 1 and 3 need a parameter, params.size() should be 2 (or at least 2)

◆ basisValues

template<typename V >
 std::vector > sgpp::combigrid::AbstractFullGridSummationStrategy< V >::basisValues
protected

For each dimension, this contains a vector of weights which are used as coefficients for linearly combining the function values at different grid points.

◆ evaluatorPrototypes

template<typename V >
 std::vector > > sgpp::combigrid::AbstractFullGridSummationStrategy< V >::evaluatorPrototypes
protected

◆ evaluators

template<typename V >
 std::vector > > > sgpp::combigrid::AbstractFullGridSummationStrategy< V >::evaluators
protected

◆ parameters

template<typename V >
 std::vector sgpp::combigrid::AbstractFullGridSummationStrategy< V >::parameters
protected

◆ partialProducts

template<typename V >
 std::vector sgpp::combigrid::AbstractFullGridSummationStrategy< V >::partialProducts
protected

◆ pointHierarchies

template<typename V >
 std::vector > sgpp::combigrid::AbstractFullGridSummationStrategy< V >::pointHierarchies
protected

◆ storage

template<typename V >
 std::shared_ptr sgpp::combigrid::AbstractFullGridSummationStrategy< V >::storage
protected

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