SG++
sgpp::base::OperationConvertPrewavelet Class Reference

#include <OperationConvertPrewavelet.hpp>

Inheritance diagram for sgpp::base::OperationConvertPrewavelet:
sgpp::base::OperationConvert

Public Member Functions

void doConvertFromLinear (DataVector &alpha) override
 Convert from a linear coefficient vector into given basis. More...
 
void doConvertToLinear (DataVector &alpha) override
 Convert given basis into linear hat basis. More...
 
 OperationConvertPrewavelet (GridStorage &storage, GridStorage &shadowstorage)
 Constructor of OperationHierarchisationPrewavelet. More...
 
 ~OperationConvertPrewavelet () override
 Destructor. More...
 
- Public Member Functions inherited from sgpp::base::OperationConvert
 OperationConvert ()
 Constructor. More...
 
virtual ~OperationConvert ()
 Destructor. More...
 

Protected Attributes

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

Constructor & Destructor Documentation

sgpp::base::OperationConvertPrewavelet::OperationConvertPrewavelet ( GridStorage storage,
GridStorage shadowstorage 
)
inline

Constructor of OperationHierarchisationPrewavelet.

An adaptive grid with prewavelet ansatz functions requires for operations using the up-down algorithm shadow points. These shadow points a needed just for data transport, thus they do not have an influence on the final function. Please refer to sgpp::pde::UpDownOneOpDimWithShadow for more information.

Parameters
storagePointer to the grid's gridstorage obejct
shadowstorageshadow points (see detailed description)
sgpp::base::OperationConvertPrewavelet::~OperationConvertPrewavelet ( )
inlineoverride

Destructor.

References alpha, doConvertFromLinear(), and doConvertToLinear().

Member Function Documentation

void sgpp::base::OperationConvertPrewavelet::doConvertFromLinear ( DataVector alpha)
overridevirtual

Convert from a linear coefficient vector into given basis.

Implements sgpp::base::OperationConvert.

References sgpp::base::HashGridStorage::getDimension(), shadowstorage, storage, and sgpp::base::sweep< FUNC >::sweep1D().

Referenced by ~OperationConvertPrewavelet().

void sgpp::base::OperationConvertPrewavelet::doConvertToLinear ( DataVector alpha)
overridevirtual

Member Data Documentation

GridStorage& sgpp::base::OperationConvertPrewavelet::shadowstorage
protected

Referenced by doConvertFromLinear().

GridStorage& sgpp::base::OperationConvertPrewavelet::storage
protected

reference to the grid's GridStorage object

Referenced by doConvertFromLinear(), and doConvertToLinear().


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