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

Implementation of Laplace for linear functions with boundaries. More...

#include <OperationLaplaceLinearStretchedBoundary.hpp>

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

Public Member Functions

 OperationLaplaceLinearStretchedBoundary (sgpp::base::GridStorage *storage)
 Constructor. More...
 
virtual ~OperationLaplaceLinearStretchedBoundary ()
 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...
 

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::UpDownOneOpDim
virtual void specialOP (sgpp::base::DataVector &alpha, sgpp::base::DataVector &result, size_t dim, size_t op_dim)
 All calculations for gradient_dim, parallel version using OpenMP 3. More...
 
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...
 

Additional Inherited Members

- Protected Types inherited from sgpp::pde::UpDownOneOpDim
typedef sgpp::base::GridStorage::grid_iterator grid_iterator
 
- 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 of Laplace for linear functions with boundaries.

Constructor & Destructor Documentation

◆ OperationLaplaceLinearStretchedBoundary()

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

Constructor.

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

◆ ~OperationLaplaceLinearStretchedBoundary()

sgpp::pde::OperationLaplaceLinearStretchedBoundary::~OperationLaplaceLinearStretchedBoundary ( )
virtual

Destructor.

Member Function Documentation

◆ down()

void sgpp::pde::OperationLaplaceLinearStretchedBoundary::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::UpDownOneOpDim.

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

◆ downOpDim()

void sgpp::pde::OperationLaplaceLinearStretchedBoundary::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::UpDownOneOpDim.

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

◆ up()

void sgpp::pde::OperationLaplaceLinearStretchedBoundary::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::UpDownOneOpDim.

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

◆ upOpDim()

void sgpp::pde::OperationLaplaceLinearStretchedBoundary::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::UpDownOneOpDim.

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


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