SG++-Doxygen-Documentation
|
Implementation for B-spline functions of Laplace Operation, linear grids without boundaries. More...
#include <OperationLaplaceExplicitLinear.hpp>
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... | |
virtual void | mult (sgpp::base::DataVector &alpha, sgpp::base::DataVector &result) |
Implementation of standard matrix multiplication. More... | |
OperationLaplaceExplicitLinear (sgpp::base::DataMatrix *m, sgpp::base::GridStorage *storage) | |
Constructor that uses a external matrix pointer to construct the matrix, i.e. More... | |
OperationLaplaceExplicitLinear (sgpp::base::GridStorage *storage) | |
Constructor that creates an own matrix i.e. 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 | ~OperationLaplaceExplicitLinear () |
Destructor. More... | |
Public Member Functions inherited from sgpp::pde::UpDownOneOpDim | |
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::DataVector * | coefs |
Pointer to the sgpp::base::DataVector of the coefs. 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::UpDownOneOpDim | |
static const size_t | maxParallelDims_ = TASKS_PARALLEL_UPDOWN |
max number of parallel stages (dimension recursive calls) More... | |
Implementation for B-spline functions of Laplace Operation, linear grids without boundaries.
sgpp::pde::OperationLaplaceExplicitLinear::OperationLaplaceExplicitLinear | ( | sgpp::base::DataMatrix * | m, |
sgpp::base::GridStorage * | storage | ||
) |
Constructor that uses a external matrix pointer to construct the matrix, i.e.
matrix is NOT destroyed by the destructor of OperationLaplaceExplicitLinear
m | pointer to datamatrix of size (number of grid point) x (number of grid points) |
storage | pointer to the sparse grid storage |
References m.
|
explicit |
Constructor that creates an own matrix i.e.
matrix is destroyed by the destructor of OperationLaplaceExplicitLinear
storage | pointer to the sparse grid storage |
References alpha, sgpp::base::DataMatrix::getNcols(), sgpp::base::HashGridStorage::getSize(), python.statsfileInfo::i, sgpp::pde::UpDownOneOpDim::mult(), sgpp::base::DataVector::set(), sgpp::base::DataVector::setAll(), sgpp::base::DataMatrix::setColumn(), and sgpp::pde::UpDownOneOpDim::storage.
|
virtual |
Destructor.
|
virtual |
std 1D down operation
dim | dimension in which to apply the down-part |
alpha | vector of coefficients |
result | vector to store the results in |
Implements sgpp::pde::UpDownOneOpDim.
References create_scripts::s, and sgpp::base::sweep< FUNC >::sweep1D().
|
virtual |
special 1D down operation that is only executed in one direction
alpha | the coefficients of the gridpoints |
result | vector with the result of this operation |
dim | the dimension in that down-Gradient is applied |
Implements sgpp::pde::UpDownOneOpDim.
Referenced by specialOP().
|
virtual |
Implementation of standard matrix multiplication.
alpha | DataVector that is multiplied to the matrix |
result | DataVector into which the result of multiplication is stored |
Reimplemented from sgpp::pde::UpDownOneOpDim.
References python.statsfileInfo::data, sgpp::base::DataMatrix::getNcols(), sgpp::base::DataMatrix::getNrows(), sgpp::base::DataMatrix::getPointer(), sgpp::base::DataVector::getSize(), python.statsfileInfo::i, and python.utils.statsfile2gnuplot::j.
|
virtual |
All calculations for gradient_dim, parallel version using OpenMP 3.
alpha | the coefficients of the grid points |
result | the result of the operations |
dim | the current dimension in the recursion |
op_dim | the dimension in that a special operation is applied |
Reimplemented from sgpp::pde::UpDownOneOpDim.
References downOpDim(), sgpp::base::DataVector::getSize(), and sgpp::pde::UpDownOneOpDim::updown().
|
virtual |
std 1D up operation
dim | dimension in which to apply the up-part |
alpha | vector of coefficients |
result | vector to store the results in |
Implements sgpp::pde::UpDownOneOpDim.
References create_scripts::s, and sgpp::base::sweep< FUNC >::sweep1D().
|
virtual |
special 1D up operation that is only executed in one direction
alpha | the coefficients of the gridpoints |
result | vector with the result of this operation |
dim | the dimension in that up-Gradient is applied |
Implements sgpp::pde::UpDownOneOpDim.