SG++-Doxygen-Documentation
sgpp::pde::UpdPhidPhiBBIterativeLinearBoundary 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 <UpdPhidPhiBBIterativeLinearBoundary.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...
 
 UpdPhidPhiBBIterativeLinearBoundary (sgpp::base::GridStorage *storage)
 Constructor. More...
 
 ~UpdPhidPhiBBIterativeLinearBoundary ()
 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

Constructor & Destructor Documentation

◆ UpdPhidPhiBBIterativeLinearBoundary()

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

Constructor.

Parameters
storagePointer to the grid's storage object

◆ ~UpdPhidPhiBBIterativeLinearBoundary()

sgpp::pde::UpdPhidPhiBBIterativeLinearBoundary::~UpdPhidPhiBBIterativeLinearBoundary ( )

Destructor.

Member Function Documentation

◆ operator()()

void sgpp::pde::UpdPhidPhiBBIterativeLinearBoundary::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
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::getSequenceNumber(), sgpp::base::HashGridStorage::getSize(), sgpp::base::BoundingBox::hasDirichletBoundaryLeft(), python.statsfileInfo::i, level, sgpp::base::HashGridPoint::set(), and sgpp::base::DataVector::setAll().


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