SG++-Doxygen-Documentation
sgpp::base::OperationHierarchisationPoly Class Reference

Hierarchisation on sparse grid, poly case. More...

#include <OperationHierarchisationPoly.hpp>

Inheritance diagram for sgpp::base::OperationHierarchisationPoly:
sgpp::base::OperationHierarchisation

Public Member Functions

void doDehierarchisation (DataVector &alpha) override
 Implements the dehierarchisation on a sprase grid with poly base functions. More...
 
void doHierarchisation (DataVector &node_values) override
 Implements the hierarchisation on a sprase grid with poly base functions. More...
 
 OperationHierarchisationPoly (GridStorage &storage, size_t degree)
 Constructor. More...
 
 ~OperationHierarchisationPoly () override
 Destructor. More...
 
- Public Member Functions inherited from sgpp::base::OperationHierarchisation
 OperationHierarchisation ()
 Constructor. More...
 
virtual ~OperationHierarchisation ()
 Destructor. More...
 

Protected Attributes

SPolyBase base
 Poly Basis object. More...
 
GridStoragestorage
 Pointer to GridStorage object. More...
 

Detailed Description

Hierarchisation on sparse grid, poly case.

Constructor & Destructor Documentation

◆ OperationHierarchisationPoly()

sgpp::base::OperationHierarchisationPoly::OperationHierarchisationPoly ( GridStorage storage,
size_t  degree 
)
inline

Constructor.

Parameters
storagethe grid's GridStorage object
degreethe polynom's max. degree

◆ ~OperationHierarchisationPoly()

sgpp::base::OperationHierarchisationPoly::~OperationHierarchisationPoly ( )
inlineoverride

Destructor.

References alpha, doDehierarchisation(), and doHierarchisation().

Member Function Documentation

◆ doDehierarchisation()

void sgpp::base::OperationHierarchisationPoly::doDehierarchisation ( DataVector alpha)
overridevirtual

Implements the dehierarchisation on a sprase grid with poly base functions.

Parameters
alphathe coefficients of the sparse grid's base functions

Implements sgpp::base::OperationHierarchisation.

References base, sgpp::base::HashGridStorage::getDimension(), python.statsfileInfo::i, create_scripts::s, storage, and sgpp::base::sweep< FUNC >::sweep1D().

Referenced by ~OperationHierarchisationPoly().

◆ doHierarchisation()

void sgpp::base::OperationHierarchisationPoly::doHierarchisation ( DataVector node_values)
overridevirtual

Implements the hierarchisation on a sprase grid with poly base functions.

Parameters
node_valuesthe functions values in the node base

Implements sgpp::base::OperationHierarchisation.

References base, sgpp::base::HashGridStorage::getDimension(), python.statsfileInfo::i, create_scripts::s, storage, and sgpp::base::sweep< FUNC >::sweep1D().

Referenced by ~OperationHierarchisationPoly().

Member Data Documentation

◆ base

SPolyBase sgpp::base::OperationHierarchisationPoly::base
protected

Poly Basis object.

Referenced by doDehierarchisation(), and doHierarchisation().

◆ storage

GridStorage& sgpp::base::OperationHierarchisationPoly::storage
protected

Pointer to GridStorage object.

Referenced by doDehierarchisation(), and doHierarchisation().


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