SG++-Doxygen-Documentation
|
Implementation for linear functions of Laplace Operation, prewavelet grids without boundaries. More...
#include <OperationLaplacePrewavelet.hpp>
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::GridStorage * | shadowStorage |
sgpp::base::GridStorage * | storage |
Pointer to the grid's storage object. More... | |
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.
sgpp::pde::OperationLaplacePrewavelet::OperationLaplacePrewavelet | ( | sgpp::base::GridStorage * | storage, |
sgpp::base::GridStorage * | shadowstorage | ||
) |
Constructor of OperationLaplacePrewavelet.
storage | Pointer to the grid's gridstorage obejct |
shadowstorage | shadow storage fuer prewavelets |
|
virtual |
Destructor.
|
protectedvirtual |
std 1D down operation
dim | dimension in which to apply the down-part |
alpha | vector of coefficients |
result | vector to store the results in |
Implements sgpp::pde::UpDownOneOpDimWithShadow.
|
protectedvirtual |
special 1D down operation that is only executed in one direction
alpha | the coefficients of the gridpoints |
result | vector with the result of this operation |
dim | the 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().
|
protectedvirtual |
std 1D up operation
dim | dimension in which to apply the up-part |
alpha | vector of coefficients |
result | vector to store the results in |
Implements sgpp::pde::UpDownOneOpDimWithShadow.
References create_scripts::s, sgpp::pde::UpDownOneOpDimWithShadow::storage, and sgpp::base::sweep< FUNC >::sweep1D().
|
protectedvirtual |
special 1D up operation that is only executed in one direction
alpha | the coefficients of the gridpoints |
result | vector with the result of this operation |
dim | the 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().