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

Implements the standard L 2 scalar product on linear grids (no boundaries) More...

#include <OperationLTwoDotProductLinear.hpp>

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

Public Member Functions

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

Constructor & Destructor Documentation

◆ OperationLTwoDotProductLinear()

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

Constructor.

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

◆ ~OperationLTwoDotProductLinear()

sgpp::pde::OperationLTwoDotProductLinear::~OperationLTwoDotProductLinear ( )
virtual

Destructor.

Member Function Documentation

◆ down()

void sgpp::pde::OperationLTwoDotProductLinear::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().

◆ up()

void sgpp::pde::OperationLTwoDotProductLinear::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().


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