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

Implements the standard L 2 scalar product on linear boundary grids. More...

#include <OperationLTwoDotProductLinearBoundary.hpp>

Inheritance diagram for sgpp::pde::OperationLTwoDotProductLinearBoundary:
sgpp::pde::StdUpDown sgpp::base::OperationMatrix

Public Member Functions

 OperationLTwoDotProductLinearBoundary (sgpp::base::GridStorage *storage)
 Constructor. More...
 
virtual ~OperationLTwoDotProductLinearBoundary ()
 Destructor. More...
 
- Public Member Functions inherited from sgpp::pde::StdUpDown
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...
 
 StdUpDown (sgpp::base::GridStorage *storage)
 Constructor. More...
 
virtual ~StdUpDown ()
 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)
 Down-step in dimension dim for \((\phi_i(x),\phi_j(x))_{L_2}\). More...
 
virtual void up (sgpp::base::DataVector &alpha, sgpp::base::DataVector &result, size_t dim)
 Up-step in dimension dim for \((\phi_i(x),\phi_j(x))_{L_2}\). More...
 
- Protected Member Functions inherited from sgpp::pde::StdUpDown
void updown (sgpp::base::DataVector &alpha, sgpp::base::DataVector &result, size_t dim)
 Recursive procedure for updown. More...
 

Additional Inherited Members

- Protected Types inherited from sgpp::pde::StdUpDown
typedef sgpp::base::GridStorage::grid_iterator grid_iterator
 
- Protected Attributes inherited from sgpp::pde::StdUpDown
const std::vector< size_t > algoDims
 algorithmic dimensions, operator is applied in this dimensions 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::StdUpDown
static const size_t maxParallelDims_ = TASKS_PARALLEL_UPDOWN
 max number of parallel stages (dimension recursive calls) More...
 

Detailed Description

Implements the standard L 2 scalar product on linear boundary grids.

Constructor & Destructor Documentation

◆ OperationLTwoDotProductLinearBoundary()

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

Constructor.

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

◆ ~OperationLTwoDotProductLinearBoundary()

sgpp::pde::OperationLTwoDotProductLinearBoundary::~OperationLTwoDotProductLinearBoundary ( )
virtual

Destructor.

Member Function Documentation

◆ down()

void sgpp::pde::OperationLTwoDotProductLinearBoundary::down ( sgpp::base::DataVector alpha,
sgpp::base::DataVector result,
size_t  dim 
)
protectedvirtual

Down-step in dimension dim for \((\phi_i(x),\phi_j(x))_{L_2}\).

Applies the down-part of the one-dimensional mass matrix in one dimension. Computes

\[\int_{x=0}^1 \phi_i(x) \sum_{j, l_i\geq l_j} \alpha_j \phi_j(x) dx.\]

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

Implements sgpp::pde::StdUpDown.

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

◆ up()

void sgpp::pde::OperationLTwoDotProductLinearBoundary::up ( sgpp::base::DataVector alpha,
sgpp::base::DataVector result,
size_t  dim 
)
protectedvirtual

Up-step in dimension dim for \((\phi_i(x),\phi_j(x))_{L_2}\).

Applies the up-part of the one-dimensional mass matrix in one dimension. Computes

\[\int_{x=0}^1 \phi_i(x) \sum_{j, l_i < l_j} \alpha_j \phi_j(x) dx.\]

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

Implements sgpp::pde::StdUpDown.

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


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