SG++-Doxygen-Documentation
|
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 with boundaries. More...
#include <DowndPhidPhiBBIterativeLinearStretchedBoundary.hpp>
Public Member Functions | |
DowndPhidPhiBBIterativeLinearStretchedBoundary (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... | |
~DowndPhidPhiBBIterativeLinearStretchedBoundary () | |
Destructor. More... | |
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 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
|
explicit |
Constructor.
storage | Pointer to the grid's storage object |
sgpp::pde::DowndPhidPhiBBIterativeLinearStretchedBoundary::~DowndPhidPhiBBIterativeLinearStretchedBoundary | ( | ) |
Destructor.
|
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\).
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' |
References sgpp::base::BoundingBox::getIntervalWidth(), sgpp::base::HashGridStorage::getSequenceNumber(), sgpp::base::HashGridStorage::getSize(), sgpp::base::HashGridStorage::getStretching(), sgpp::base::BoundingBox::hasDirichletBoundaryLeft(), sgpp::base::BoundingBox::hasDirichletBoundaryRight(), python.statsfileInfo::i, level, sgpp::combigrid::pow(), sgpp::base::HashGridPoint::set(), and sgpp::base::DataVector::setAll().