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

This class is helper class to implement the complete Down 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 without boundaries. More...

#include <DowndPhidPhiBBIterativeLinear.hpp>

Public Member Functions

 DowndPhidPhiBBIterativeLinear (sgpp::base::GridStorage *storage)
 Constructor. More...
 
virtual void operator() (sgpp::base::DataVector &alpha, sgpp::base::DataVector &result, size_t dim)
 This operations performs the calculation of Down in the direction of dimension dim of following bilinearform: \(\int_{x} \frac{\partial \phi(x)}{x} \frac{\partial \phi(x)}{x} dx\). More...
 
virtual ~DowndPhidPhiBBIterativeLinear ()
 Destructor. More...
 

Detailed Description

This class is helper class to implement the complete Down 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 without 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

Constructor & Destructor Documentation

◆ DowndPhidPhiBBIterativeLinear()

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

Constructor.

Parameters
storagePointer to the grid's storage object

◆ ~DowndPhidPhiBBIterativeLinear()

sgpp::pde::DowndPhidPhiBBIterativeLinear::~DowndPhidPhiBBIterativeLinear ( )
virtual

Destructor.

Member Function Documentation

◆ operator()()

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

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

Parameters
alphasgpp::base::DataVector that contains the gridpoint's coefficients
resultsgpp::base::DataVector that contains the result of the down operation
dimcurrent fixed dimension of the 'execution direction'

References sgpp::base::HashGridStorage::getBoundingBox(), sgpp::base::BoundingBox::getIntervalWidth(), sgpp::base::HashGridStorage::getSize(), python.statsfileInfo::i, level, and sgpp::base::DataVector::setAll().


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