SG++-Doxygen-Documentation
|
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... | |
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
|
explicit |
Constructor.
storage | Pointer to the grid's storage object |
sgpp::pde::UpdPhidPhiBBIterativeLinearStretchedBoundary::~UpdPhidPhiBBIterativeLinearStretchedBoundary | ( | ) |
Destructor.
|
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\).
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(), python.statsfileInfo::i, level, sgpp::base::HashGridPoint::set(), and sgpp::base::DataVector::setAll().