SG++
sgpp::base::OperationHierarchisationLinearStretched Class Reference

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

#include <OperationHierarchisationLinearStretched.hpp>

Inheritance diagram for sgpp::base::OperationHierarchisationLinearStretched:
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...
 
 OperationHierarchisationLinearStretched (GridStorage &storage)
 Constructor of OperationHierarchisationLinear. More...
 
 ~OperationHierarchisationLinearStretched () 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

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

Constructor of OperationHierarchisationLinear.

Parameters
storagePointer to the grid's gridstorage obejct
sgpp::base::OperationHierarchisationLinearStretched::~OperationHierarchisationLinearStretched ( )
inlineoverride

Destructor.

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

Member Function Documentation

void sgpp::base::OperationHierarchisationLinearStretched::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(), storage, and sgpp::base::sweep< FUNC >::sweep1D().

Referenced by ~OperationHierarchisationLinearStretched().

void sgpp::base::OperationHierarchisationLinearStretched::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(), storage, and sgpp::base::sweep< FUNC >::sweep1D().

Referenced by ~OperationHierarchisationLinearStretched().

Member Data Documentation

GridStorage& sgpp::base::OperationHierarchisationLinearStretched::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: