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

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

#include <OperationLaplaceLinear.hpp>

Inheritance diagram for sgpp::pde::OperationLaplaceLinear:
sgpp::pde::UpDownOneOpDim sgpp::base::OperationMatrix

Public 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...
 
 OperationLaplaceLinear (sgpp::base::GridStorage *storage)
 Constructor of OperationLaplaceLinear. More...
 
 OperationLaplaceLinear (sgpp::base::GridStorage *storage, sgpp::base::DataVector &coef)
 Constructor of OperationLaplaceLinear. More...
 
virtual void specialOP (sgpp::base::DataVector &alpha, sgpp::base::DataVector &result, size_t dim, size_t gradient_dim)
 All calculations for gradient_dim, parallel version using OpenMP 3. 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...
 
virtual ~OperationLaplaceLinear ()
 Destructor. More...
 
- Public Member Functions inherited from sgpp::pde::UpDownOneOpDim
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, size_t operationDim)
 This functions provides the same functionality as the normal mult routine. More...
 
 UpDownOneOpDim (sgpp::base::GridStorage *storage, sgpp::base::DataVector &coef)
 Constructor. More...
 
 UpDownOneOpDim (sgpp::base::GridStorage *storage)
 Constructor. More...
 
virtual ~UpDownOneOpDim ()
 Destructor. More...
 
- Public Member Functions inherited from sgpp::base::OperationMatrix
 OperationMatrix ()
 Constructor. More...
 
virtual ~OperationMatrix ()
 Destructor. More...
 

Additional Inherited Members

- Protected Types inherited from sgpp::pde::UpDownOneOpDim
typedef sgpp::base::GridStorage::grid_iterator grid_iterator
 
- Protected Member Functions inherited from sgpp::pde::UpDownOneOpDim
void updown (sgpp::base::DataVector &alpha, sgpp::base::DataVector &result, size_t dim, size_t op_dim)
 Recursive procedure for updown(), parallel version using OpenMP 3. More...
 
- Protected Attributes inherited from sgpp::pde::UpDownOneOpDim
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::UpDownOneOpDim
static const size_t maxParallelDims_ = TASKS_PARALLEL_UPDOWN
 max number of parallel stages (dimension recursive calls) More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ OperationLaplaceLinear() [1/2]

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

Constructor of OperationLaplaceLinear.

Parameters
storagePointer to the grid's gridstorage obejct

◆ OperationLaplaceLinear() [2/2]

sgpp::pde::OperationLaplaceLinear::OperationLaplaceLinear ( 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

◆ ~OperationLaplaceLinear()

sgpp::pde::OperationLaplaceLinear::~OperationLaplaceLinear ( )
virtual

Destructor.

Member Function Documentation

◆ down()

void sgpp::pde::OperationLaplaceLinear::down ( sgpp::base::DataVector alpha,
sgpp::base::DataVector result,
size_t  dim 
)
virtual

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::UpDownOneOpDim.

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

◆ downOpDim()

void sgpp::pde::OperationLaplaceLinear::downOpDim ( sgpp::base::DataVector alpha,
sgpp::base::DataVector result,
size_t  dim 
)
virtual

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::UpDownOneOpDim.

References sgpp::pde::UpDownOneOpDim::storage.

Referenced by specialOP().

◆ specialOP()

void sgpp::pde::OperationLaplaceLinear::specialOP ( sgpp::base::DataVector alpha,
sgpp::base::DataVector result,
size_t  dim,
size_t  op_dim 
)
virtual

All calculations for gradient_dim, parallel version using OpenMP 3.

Parameters
alphathe coefficients of the grid points
resultthe result of the operations
dimthe current dimension in the recursion
op_dimthe dimension in that a special operation is applied

Reimplemented from sgpp::pde::UpDownOneOpDim.

References downOpDim(), sgpp::base::DataVector::getSize(), and sgpp::pde::UpDownOneOpDim::updown().

◆ up()

void sgpp::pde::OperationLaplaceLinear::up ( sgpp::base::DataVector alpha,
sgpp::base::DataVector result,
size_t  dim 
)
virtual

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::UpDownOneOpDim.

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

◆ upOpDim()

void sgpp::pde::OperationLaplaceLinear::upOpDim ( sgpp::base::DataVector alpha,
sgpp::base::DataVector result,
size_t  dim 
)
virtual

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::UpDownOneOpDim.


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