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

Implements the Laplace operator based on the UpDownOneOpDimEnhanced method. More...

#include <OperationLaplaceEnhancedLinear.hpp>

Inheritance diagram for sgpp::pde::OperationLaplaceEnhancedLinear:
sgpp::pde::UpDownOneOpDimEnhanced sgpp::base::OperationMatrix sgpp::base::OperationMatrix

Public Member Functions

 OperationLaplaceEnhancedLinear (sgpp::base::GridStorage *storage)
 Constructor. More...
 
 OperationLaplaceEnhancedLinear (sgpp::base::GridStorage *storage, sgpp::base::DataVector &coef)
 Constructor of OperationLaplaceLinear. More...
 
virtual ~OperationLaplaceEnhancedLinear ()
 Destructor. More...
 
- Public Member Functions inherited from sgpp::pde::UpDownOneOpDimEnhanced
virtual void mult (sgpp::base::DataVector &alpha, sgpp::base::DataVector &result)
 starts the Multiplication with the matrix More...
 
virtual void mult (sgpp::base::DataVector &alpha, sgpp::base::DataVector &result)
 starts the Multiplication with the matrix More...
 
void multParallelBuildingBlock (sgpp::base::DataVector &alpha, sgpp::base::DataVector &result)
 this functions provides the same functionality as the normal mult routine. More...
 
void multParallelBuildingBlock (sgpp::base::DataVector &alpha, sgpp::base::DataVector &result)
 this functions provides the same functionality as the normal mult routine. More...
 
 UpDownOneOpDimEnhanced (sgpp::base::GridStorage *storage, sgpp::base::DataVector &coef)
 Constructor. More...
 
 UpDownOneOpDimEnhanced (sgpp::base::GridStorage *storage, sgpp::base::DataVector &coef)
 Constructor. More...
 
 UpDownOneOpDimEnhanced (sgpp::base::GridStorage *storage)
 Constructor. More...
 
 UpDownOneOpDimEnhanced (sgpp::base::GridStorage *storage)
 Constructor. More...
 
virtual ~UpDownOneOpDimEnhanced ()
 Destructor. More...
 
virtual ~UpDownOneOpDimEnhanced ()
 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::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::DataVectorcoefs
 Pointer to the sgpp::base::DataVector of the coefs. More...
 
const size_t numAlgoDims_
 number of algorithmic dimensions More...
 
sgpp::base::GridStoragestorage
 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...
 

Detailed Description

Implements the Laplace operator based on the UpDownOneOpDimEnhanced method.

Constructor & Destructor Documentation

◆ OperationLaplaceEnhancedLinear() [1/2]

sgpp::pde::OperationLaplaceEnhancedLinear::OperationLaplaceEnhancedLinear ( sgpp::base::GridStorage storage)
explicit

Constructor.

Parameters
storagethe grid's sgpp::base::GridStorage object

◆ OperationLaplaceEnhancedLinear() [2/2]

sgpp::pde::OperationLaplaceEnhancedLinear::OperationLaplaceEnhancedLinear ( sgpp::base::GridStorage storage,
sgpp::base::DataVector coef 
)

Constructor of OperationLaplaceLinear.

Parameters
storagePointer to the grid's gridstorage obejct
coefreference to a sgpp::base::DataVector object that contains the bilinear form's constant coefficients; one per dimension

◆ ~OperationLaplaceEnhancedLinear()

sgpp::pde::OperationLaplaceEnhancedLinear::~OperationLaplaceEnhancedLinear ( )
virtual

Destructor.

Member Function Documentation

◆ down()

void sgpp::pde::OperationLaplaceEnhancedLinear::down ( sgpp::base::DataMatrix alpha,
sgpp::base::DataMatrix result,
size_t  dim 
)
protectedvirtual

Down-step.

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

Implements sgpp::pde::UpDownOneOpDimEnhanced.

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

◆ up()

void sgpp::pde::OperationLaplaceEnhancedLinear::up ( sgpp::base::DataMatrix alpha,
sgpp::base::DataMatrix result,
size_t  dim 
)
protectedvirtual

Up-step.

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

Implements sgpp::pde::UpDownOneOpDimEnhanced.

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


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