Implementation of sweep operator (): 1D Up for Bilinearform \(\int_{x} \phi(x) \phi(x) dx\) on linear boundary grids.
More...
|
| typedef sgpp::base::GridStorage::grid_iterator | grid_iterator |
| |
| void | rec (sgpp::base::DataVector &source, sgpp::base::DataVector &result, grid_iterator &index, size_t dim, double &fl, double &fr) |
| | recursive function for the calculation of Up without bounding Box support More...
|
| |
| void | recBB (sgpp::base::DataVector &source, sgpp::base::DataVector &result, grid_iterator &index, size_t dim, double &fl, double &fr, double q, double t) |
| | recursive function for the calculation of Up with Bounding Box Support More...
|
| |
| sgpp::base::BoundingBox * | boundingBox |
| | Pointer to the bounding box Obejct. More...
|
| |
| sgpp::base::GridStorage * | storage |
| | Pointer to sgpp::base::GridStorage object. More...
|
| |
Implementation of sweep operator (): 1D Up for Bilinearform \(\int_{x} \phi(x) \phi(x) dx\) on linear boundary grids.
This operations performs the calculation of up in the direction of dimension dim
For level zero it's assumed, that both ansatz-functions do exist: 0,0 and 0,1 If one is missing this code might produce some bad errors (segmentation fault, wrong calculation result) So please assure that both functions do exist!
- Parameters
-
| source | sgpp::base::DataVector that contains the gridpoint's coefficients (values from the vector of the laplace operation) |
| result | sgpp::base::DataVector that contains the result of the up operation |
| index | a iterator object of the grid |
| dim | current fixed dimension of the 'execution direction' |
Reimplemented from sgpp::pde::PhiPhiUpBBLinear.
References sgpp::pde::PhiPhiUpBBLinear::boundingBox, sgpp::base::BoundingBox::getIntervalOffset(), sgpp::base::BoundingBox::getIntervalWidth(), sgpp::base::BoundingBox::hasDirichletBoundaryLeft(), sgpp::base::BoundingBox::hasDirichletBoundaryRight(), sgpp::base::HashGridIterator::hint(), sgpp::base::HashGridStorage::isInvalidSequenceNumber(), sgpp::pde::PhiPhiUpBBLinear::rec(), sgpp::pde::PhiPhiUpBBLinear::recBB(), sgpp::base::HashGridIterator::resetToLeftLevelZero(), sgpp::base::HashGridIterator::resetToLevelOne(), sgpp::base::HashGridIterator::resetToRightLevelZero(), sgpp::base::HashGridIterator::seq(), and sgpp::pde::PhiPhiUpBBLinear::storage.