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

Hierarchisation on sparse grid, linear grid without boundaries. More...

#include <OperationHierarchisationLinear.hpp>

Inheritance diagram for sgpp::base::OperationHierarchisationLinear:
sgpp::base::OperationHierarchisation

Public Member Functions

void doDehierarchisation (DataVector &alpha) override
 Implements the dehierarchisation on a sparse grid. More...
 
void doHierarchisation (DataVector &node_values) override
 Implements the hierarchisation on a sparse grid. More...
 
 OperationHierarchisationLinear (GridStorage &storage)
 Constructor of OperationHierarchisationLinear. More...
 
 ~OperationHierarchisationLinear () override
 Destructor. More...
 
- Public Member Functions inherited from sgpp::base::OperationHierarchisation
 OperationHierarchisation ()
 Constructor. More...
 
virtual ~OperationHierarchisation ()
 Destructor. More...
 

Protected Attributes

GridStoragestorage
 reference to the grid's GridStorage object More...
 

Detailed Description

Hierarchisation on sparse grid, linear grid without boundaries.

Constructor & Destructor Documentation

◆ OperationHierarchisationLinear()

sgpp::base::OperationHierarchisationLinear::OperationHierarchisationLinear ( GridStorage storage)
inlineexplicit

Constructor of OperationHierarchisationLinear.

Parameters
storagePointer to the grid's gridstorage obejct

◆ ~OperationHierarchisationLinear()

sgpp::base::OperationHierarchisationLinear::~OperationHierarchisationLinear ( )
inlineoverride

Destructor.

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

Member Function Documentation

◆ doDehierarchisation()

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

Implements the dehierarchisation on a sparse grid.

Parameters
alphathe coefficients of the sparse grid's basis functions

Implements sgpp::base::OperationHierarchisation.

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

Referenced by ~OperationHierarchisationLinear().

◆ doHierarchisation()

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

Implements the hierarchisation on a sparse grid.

Parameters
node_valuesthe function's values in the nodal basis

Implements sgpp::base::OperationHierarchisation.

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

Referenced by ~OperationHierarchisationLinear().

Member Data Documentation

◆ storage

GridStorage& sgpp::base::OperationHierarchisationLinear::storage
protected

reference to the grid's GridStorage object

Referenced by doDehierarchisation(), and doHierarchisation().


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