SG++-Doxygen-Documentation
|
Implementation of sweep operator (): 1D Down for Bilinearform \(\int_{x} \phi(x) \phi(x) dx\) on linear boundary grids. More...
#include <PhiPhiDownBBLinearBoundary.hpp>
Public Member Functions | |
virtual void | operator() (sgpp::base::DataVector &source, sgpp::base::DataVector &result, grid_iterator &index, size_t dim) |
This operations performs the calculation of down in the direction of dimension dim More... | |
PhiPhiDownBBLinearBoundary (sgpp::base::GridStorage *storage) | |
Constructor. More... | |
virtual | ~PhiPhiDownBBLinearBoundary () |
Destructor. More... | |
Public Member Functions inherited from sgpp::pde::PhiPhiDownBBLinear | |
PhiPhiDownBBLinear (sgpp::base::GridStorage *storage) | |
Constructor. More... | |
virtual | ~PhiPhiDownBBLinear () |
Destructor. More... | |
Additional Inherited Members | |
Protected Types inherited from sgpp::pde::PhiPhiDownBBLinear | |
typedef sgpp::base::GridStorage::grid_iterator | grid_iterator |
Protected Member Functions inherited from sgpp::pde::PhiPhiDownBBLinear | |
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 Down without Bounding Box 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 Down with Bouding Box More... | |
Protected Attributes inherited from sgpp::pde::PhiPhiDownBBLinear | |
sgpp::base::BoundingBox * | boundingBox |
Pointer to the bounding box Obejct. More... | |
sgpp::base::GridStorage * | storage |
Pointer to the sgpp::base::GridStorage Object. More... | |
Implementation of sweep operator (): 1D Down for Bilinearform \(\int_{x} \phi(x) \phi(x) dx\) on linear boundary grids.
|
explicit |
Constructor.
storage | the grid's sgpp::base::GridStorage object |
|
virtual |
Destructor.
|
virtual |
This operations performs the calculation of down 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!
On level zero the getfixDirechletBoundaries of the storage object evaluated
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 down operation |
index | a iterator object of the grid |
dim | current fixed dimension of the 'execution direction' |
Reimplemented from sgpp::pde::PhiPhiDownBBLinear.
References sgpp::pde::PhiPhiDownBBLinear::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::PhiPhiDownBBLinear::rec(), sgpp::pde::PhiPhiDownBBLinear::recBB(), sgpp::base::HashGridIterator::resetToLeftLevelZero(), sgpp::base::HashGridIterator::resetToLevelOne(), sgpp::base::HashGridIterator::resetToRightLevelZero(), sgpp::base::HashGridIterator::seq(), and sgpp::pde::PhiPhiDownBBLinear::storage.