SG++-Doxygen-Documentation
|
Implements the standard L 2 scalar product on linear grids (no boundaries) More...
#include <OperationLTwoDotProductLinear.hpp>
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::GridStorage * | storage |
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... | |
Implements the standard L 2 scalar product on linear grids (no boundaries)
|
explicit |
Constructor.
storage | the grid's sgpp::base::GridStorage object |
|
virtual |
Destructor.
|
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.\]
dim | dimension in which to apply the down-part |
alpha | vector of coefficients |
result | vector to store the results in |
Implements sgpp::pde::StdUpDown.
References create_scripts::s, sgpp::pde::StdUpDown::storage, and sgpp::base::sweep< FUNC >::sweep1D().
|
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.\]
dim | dimension in which to apply the up-part |
alpha | vector of coefficients |
result | vector to store the results in |
Implements sgpp::pde::StdUpDown.
References create_scripts::s, sgpp::pde::StdUpDown::storage, and sgpp::base::sweep< FUNC >::sweep1D().