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

This class is helper class to implement the complete Up of following bilinearform $$\int_{x} \frac{\partial \phi(x)}{x} \frac{\partial \phi(x)}{x} dx$$ for a given dimension by an iterative algorithms on adaptive Sparse Grids with linear ansatzfunctions with boundaries. More...

#include <UpdPhidPhiBBIterativeLinearStretchedBoundary.hpp>

## Public Member Functions

virtual void operator() (sgpp::base::DataVector &alpha, sgpp::base::DataVector &result, size_t dim)
This operations performs the calculation of Up in the direction of dimension dim of following bilinearform: $$\int_{x} \frac{\partial \phi(x)}{x} \frac{\partial \phi(x)}{x} dx$$. More...

UpdPhidPhiBBIterativeLinearStretchedBoundary (sgpp::base::GridStorage *storage)
Constructor. More...

~UpdPhidPhiBBIterativeLinearStretchedBoundary ()
Destructor. More...

## Detailed Description

This class is helper class to implement the complete Up of following bilinearform $$\int_{x} \frac{\partial \phi(x)}{x} \frac{\partial \phi(x)}{x} dx$$ for a given dimension by an iterative algorithms on adaptive Sparse Grids with linear ansatzfunctions with boundaries.

This is possible due to the fact that the operator's matrix has only entries on the diagonal.

-> the Up/Down can be implemented by iterating over all ansatzfunctions

## ◆ UpdPhidPhiBBIterativeLinearStretchedBoundary()

 sgpp::pde::UpdPhidPhiBBIterativeLinearStretchedBoundary::UpdPhidPhiBBIterativeLinearStretchedBoundary ( sgpp::base::GridStorage * storage )
explicit

Constructor.

Parameters
 storage Pointer to the grid's storage object

## ◆ ~UpdPhidPhiBBIterativeLinearStretchedBoundary()

 sgpp::pde::UpdPhidPhiBBIterativeLinearStretchedBoundary::~UpdPhidPhiBBIterativeLinearStretchedBoundary ( )

Destructor.

## ◆ operator()()

 void sgpp::pde::UpdPhidPhiBBIterativeLinearStretchedBoundary::operator() ( sgpp::base::DataVector & alpha, sgpp::base::DataVector & result, size_t dim )
virtual

This operations performs the calculation of Up in the direction of dimension dim of following bilinearform: $$\int_{x} \frac{\partial \phi(x)}{x} \frac{\partial \phi(x)}{x} dx$$.

Parameters
 alpha sgpp::base::DataVector that contains the gridpoint's coefficients result sgpp::base::DataVector that contains the result of the down operation dim current fixed dimension of the 'execution direction'

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