SG++-Doxygen-Documentation
|
Implementation of sweep operator (): 1D Down for Bilinearform \(\int_{x} \phi(x) \phi(x) dx\). More...
#include <PhiPhiDownBBLinear.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 on a grid with Dirichlet 0 boundary conditions. More... | |
PhiPhiDownBBLinear (sgpp::base::GridStorage *storage) | |
Constructor. More... | |
virtual | ~PhiPhiDownBBLinear () |
Destructor. More... | |
Protected Types | |
typedef sgpp::base::GridStorage::grid_iterator | grid_iterator |
Protected Member Functions | |
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 | |
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\).
|
protected |
|
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 on a grid with Dirichlet 0 boundary conditions.
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 in sgpp::pde::PhiPhiDownBBLinearBoundary.
References boundingBox, sgpp::base::BoundingBox::getIntervalOffset(), sgpp::base::BoundingBox::getIntervalWidth(), rec(), and recBB().
|
protected |
recursive function for the calculation of Down without Bounding Box
source | sgpp::base::DataVector that contains the coefficients of the ansatzfunction |
result | sgpp::base::DataVector in which the result of the operation is stored |
index | reference to a griditerator object that is used navigate through the grid |
dim | the dimension in which the operation is executed |
fl | function value on the left boundary |
fr | function value on the right boundary |
References sgpp::base::HashGridIterator::get(), h, sgpp::base::HashGridIterator::hint(), python.statsfileInfo::i, sgpp::base::HashGridStorage::isInvalidSequenceNumber(), sgpp::base::HashGridIterator::leftChild(), sgpp::base::HashGridIterator::seq(), sgpp::base::HashGridIterator::stepRight(), storage, and sgpp::base::HashGridIterator::up().
Referenced by operator()(), and sgpp::pde::PhiPhiDownBBLinearBoundary::operator()().
|
protected |
recursive function for the calculation of Down with Bouding Box
source | sgpp::base::DataVector that contains the coefficients of the ansatzfunction |
result | sgpp::base::DataVector in which the result of the operation is stored |
index | reference to a griditerator object that is used navigate through the grid |
dim | the dimension in which the operation is executed |
fl | function value on the left boundary |
fr | function value on the right boundary |
q | interval width in the current dimension dim |
t | interval offset in current dimension dim |
References sgpp::base::HashGridIterator::get(), h, sgpp::base::HashGridIterator::hint(), python.statsfileInfo::i, sgpp::base::HashGridStorage::isInvalidSequenceNumber(), sgpp::base::HashGridIterator::leftChild(), sgpp::base::HashGridIterator::seq(), sgpp::base::HashGridIterator::stepRight(), storage, and sgpp::base::HashGridIterator::up().
Referenced by operator()(), and sgpp::pde::PhiPhiDownBBLinearBoundary::operator()().
|
protected |
Pointer to the bounding box Obejct.
Referenced by operator()(), and sgpp::pde::PhiPhiDownBBLinearBoundary::operator()().
|
protected |
Pointer to the sgpp::base::GridStorage Object.
Referenced by sgpp::pde::PhiPhiDownBBLinearBoundary::operator()(), rec(), and recBB().