SG++-Doxygen-Documentation
sgpp::pde::OperationLaplacePrewavelet Class Reference

Implementation for linear functions of Laplace Operation, prewavelet grids without boundaries. More...

#include <OperationLaplacePrewavelet.hpp>

Inheritance diagram for sgpp::pde::OperationLaplacePrewavelet:
sgpp::pde::UpDownOneOpDimWithShadow sgpp::base::OperationMatrix

Public Member Functions

 OperationLaplacePrewavelet (sgpp::base::GridStorage *storage, sgpp::base::GridStorage *shadowstorage)
 Constructor of OperationLaplacePrewavelet. More...
 
virtual ~OperationLaplacePrewavelet ()
 Destructor. More...
 
- Public Member Functions inherited from sgpp::pde::UpDownOneOpDimWithShadow
virtual void mult (sgpp::base::DataVector &alpha, sgpp::base::DataVector &result)
 starts the Multiplication with the matrix More...
 
 UpDownOneOpDimWithShadow (sgpp::base::GridStorage *storage, sgpp::base::GridStorage *shadowStorage)
 Constructor. More...
 
virtual ~UpDownOneOpDimWithShadow ()
 Destructor. More...
 
- Public Member Functions inherited from sgpp::base::OperationMatrix
 OperationMatrix ()
 Constructor. More...
 
virtual ~OperationMatrix ()
 Destructor. More...
 

Protected Member Functions

virtual void down (sgpp::base::DataVector &alpha, sgpp::base::DataVector &result, size_t dim)
 std 1D down operation More...
 
virtual void downOpDim (sgpp::base::DataVector &alpha, sgpp::base::DataVector &result, size_t dim)
 special 1D down operation that is only executed in one direction More...
 
virtual void up (sgpp::base::DataVector &alpha, sgpp::base::DataVector &result, size_t dim)
 std 1D up operation More...
 
virtual void upOpDim (sgpp::base::DataVector &alpha, sgpp::base::DataVector &result, size_t dim)
 special 1D up operation that is only executed in one direction More...
 
- Protected Member Functions inherited from sgpp::pde::UpDownOneOpDimWithShadow
void expandGrid ()
 This functions adds all grid points of the shadow storage into the actual grid. More...
 
void shrinkGrid ()
 Removes the previously added shadow grid points from the actual grid. More...
 
virtual void specialOP (sgpp::base::DataVector &alpha, sgpp::base::DataVector &result, size_t dim, size_t op_dim)
 All calculations for op_dim. More...
 
void updown (sgpp::base::DataVector &alpha, sgpp::base::DataVector &result, size_t dim, size_t op_dim)
 Recursive procedure for updown(). More...
 

Additional Inherited Members

- Protected Types inherited from sgpp::pde::UpDownOneOpDimWithShadow
typedef sgpp::base::GridStorage::grid_iterator grid_iterator
 
- Protected Attributes inherited from sgpp::pde::UpDownOneOpDimWithShadow
sgpp::base::GridStorageshadowStorage
 
sgpp::base::GridStoragestorage
 Pointer to the grid's storage object. More...
 

Detailed Description

Implementation for linear functions of Laplace Operation, prewavelet grids without boundaries.

With prewavelets the calculation of the gradient part of the up down algorithm is the more complicated one whereas the normal part is eased. For details on the implementation please refer to the documentation of the detail-classes LaplaceDownGradientPrewavelet.hpp, LaplaceUpGradientPrewavelet.hpp and LaplaceDownPrewavelet.hpp.

Constructor & Destructor Documentation

◆ OperationLaplacePrewavelet()

sgpp::pde::OperationLaplacePrewavelet::OperationLaplacePrewavelet ( sgpp::base::GridStorage storage,
sgpp::base::GridStorage shadowstorage 
)

Constructor of OperationLaplacePrewavelet.

Parameters
storagePointer to the grid's gridstorage obejct
shadowstorageshadow storage fuer prewavelets

◆ ~OperationLaplacePrewavelet()

sgpp::pde::OperationLaplacePrewavelet::~OperationLaplacePrewavelet ( )
virtual

Destructor.

Member Function Documentation

◆ down()

void sgpp::pde::OperationLaplacePrewavelet::down ( sgpp::base::DataVector alpha,
sgpp::base::DataVector result,
size_t  dim 
)
protectedvirtual

std 1D down operation

Parameters
dimdimension in which to apply the down-part
alphavector of coefficients
resultvector to store the results in

Implements sgpp::pde::UpDownOneOpDimWithShadow.

◆ downOpDim()

void sgpp::pde::OperationLaplacePrewavelet::downOpDim ( sgpp::base::DataVector alpha,
sgpp::base::DataVector result,
size_t  dim 
)
protectedvirtual

special 1D down operation that is only executed in one direction

Parameters
alphathe coefficients of the gridpoints
resultvector with the result of this operation
dimthe dimension in that down-Gradient is applied

Implements sgpp::pde::UpDownOneOpDimWithShadow.

References create_scripts::s, sgpp::pde::UpDownOneOpDimWithShadow::storage, and sgpp::base::sweep< FUNC >::sweep1D().

◆ up()

void sgpp::pde::OperationLaplacePrewavelet::up ( sgpp::base::DataVector alpha,
sgpp::base::DataVector result,
size_t  dim 
)
protectedvirtual

std 1D up operation

Parameters
dimdimension in which to apply the up-part
alphavector of coefficients
resultvector to store the results in

Implements sgpp::pde::UpDownOneOpDimWithShadow.

References create_scripts::s, sgpp::pde::UpDownOneOpDimWithShadow::storage, and sgpp::base::sweep< FUNC >::sweep1D().

◆ upOpDim()

void sgpp::pde::OperationLaplacePrewavelet::upOpDim ( sgpp::base::DataVector alpha,
sgpp::base::DataVector result,
size_t  dim 
)
protectedvirtual

special 1D up operation that is only executed in one direction

Parameters
alphathe coefficients of the gridpoints
resultvector with the result of this operation
dimthe dimension in that up-Gradient is applied

Implements sgpp::pde::UpDownOneOpDimWithShadow.

References create_scripts::s, sgpp::pde::UpDownOneOpDimWithShadow::storage, and sgpp::base::sweep< FUNC >::sweep1D().


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