SG++-Doxygen-Documentation
|
Implements the Laplace operator based on the UpDownOneOpDimEnhanced method. More...
#include <OperationLaplaceEnhancedLinear.hpp>
Protected Member Functions | |
virtual void | down (sgpp::base::DataMatrix &alpha, sgpp::base::DataMatrix &result, size_t dim) |
Down-step. More... | |
virtual void | up (sgpp::base::DataMatrix &alpha, sgpp::base::DataMatrix &result, size_t dim) |
Up-step. More... | |
Protected Member Functions inherited from sgpp::pde::UpDownOneOpDimEnhanced | |
void | updown (sgpp::base::DataMatrix &alpha, sgpp::base::DataMatrix &result, size_t dim) |
Recursive procedure for updown. More... | |
void | updown (sgpp::base::DataMatrix &alpha, sgpp::base::DataMatrix &result, size_t dim) |
Recursive procedure for updown. More... | |
Additional Inherited Members | |
Protected Types inherited from sgpp::pde::UpDownOneOpDimEnhanced | |
typedef sgpp::base::GridStorage::grid_iterator | grid_iterator |
typedef sgpp::base::GridStorage::grid_iterator | grid_iterator |
Protected Attributes inherited from sgpp::pde::UpDownOneOpDimEnhanced | |
const std::vector< size_t > | algoDims |
algorithmic dimensions, operator is applied in this dimensions More... | |
sgpp::base::DataVector * | coefs |
Pointer to the sgpp::base::DataVector of the coefs. More... | |
const size_t | numAlgoDims_ |
number of algorithmic dimensions More... | |
sgpp::base::GridStorage * | storage |
Pointer to the grid's storage object. More... | |
Static Protected Attributes inherited from sgpp::pde::UpDownOneOpDimEnhanced | |
static const size_t | maxParallelDims_ = TASKS_PARALLEL_UPDOWN |
max number of parallel stages (dimension recursive calls) More... | |
Implements the Laplace operator based on the UpDownOneOpDimEnhanced method.
|
explicit |
Constructor.
storage | the grid's sgpp::base::GridStorage object |
sgpp::pde::OperationLaplaceEnhancedLinear::OperationLaplaceEnhancedLinear | ( | sgpp::base::GridStorage * | storage, |
sgpp::base::DataVector & | coef | ||
) |
Constructor of OperationLaplaceLinear.
storage | Pointer to the grid's gridstorage obejct |
coef | reference to a sgpp::base::DataVector object that contains the bilinear form's constant coefficients; one per dimension |
|
virtual |
Destructor.
|
protectedvirtual |
Down-step.
dim | dimension in which to apply the down-part |
alpha | vector of coefficients |
result | vector to store the results in |
Implements sgpp::pde::UpDownOneOpDimEnhanced.
References create_scripts::s, sgpp::pde::UpDownOneOpDimEnhanced::storage, and sgpp::base::sweep< FUNC >::sweep1D().
|
protectedvirtual |
Up-step.
dim | dimension in which to apply the up-part |
alpha | vector of coefficients |
result | vector to store the results in |
Implements sgpp::pde::UpDownOneOpDimEnhanced.
References create_scripts::s, sgpp::pde::UpDownOneOpDimEnhanced::storage, and sgpp::base::sweep< FUNC >::sweep1D().