SG++
sgpp::base::OperationHierarchisationLinearStretchedBoundary Class Reference

Hierarchisation on sparse grid, linear stretched case with boundaries. More...

#include <OperationHierarchisationLinearStretchedBoundary.hpp>

Inheritance diagram for sgpp::base::OperationHierarchisationLinearStretchedBoundary:
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...
 
 OperationHierarchisationLinearStretchedBoundary (GridStorage &storage)
 Constructor. More...
 
 ~OperationHierarchisationLinearStretchedBoundary () override
 Destructor. More...
 
- Public Member Functions inherited from sgpp::base::OperationHierarchisation
 OperationHierarchisation ()
 Constructor. More...
 
virtual ~OperationHierarchisation ()
 Destructor. More...
 

Protected Attributes

GridStoragestorage
 Pointer to GridStorage object. More...
 

Detailed Description

Hierarchisation on sparse grid, linear stretched case with boundaries.

Constructor & Destructor Documentation

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

Constructor.

Parameters
storagethe grid's GridStorage object
sgpp::base::OperationHierarchisationLinearStretchedBoundary::~OperationHierarchisationLinearStretchedBoundary ( )
inlineoverride

Destructor.

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

Member Function Documentation

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

Referenced by ~OperationHierarchisationLinearStretchedBoundary().

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

Referenced by ~OperationHierarchisationLinearStretchedBoundary().

Member Data Documentation

GridStorage& sgpp::base::OperationHierarchisationLinearStretchedBoundary::storage
protected

Pointer to GridStorage object.

Referenced by doDehierarchisation(), and doHierarchisation().


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