Implementation of sweep operator () for enhanced Laplace operator, down operation.
More...
|
void | rec (double fl, double fr, size_t dim, grid_iterator &index) |
| recursive function for the calculation of Down (L2 scalar product) without Bounding Box
|
|
void | rec_GL (double fl, double fr, size_t dim, grid_iterator &index) |
| recursive function for the calculation of merged-Down (gradient and L2 scalar product) without Bounding Box
|
|
void | rec_grad (size_t dim, grid_iterator &index) |
| recursive function for the calculation of Down (gradient) without Bounding Box
|
|
void | rec_LG (double fl, double fr, size_t dim, grid_iterator &index) |
| recursive function for the calculation of merged-Down (L2 scalar product and gradient) without Bounding Box
|
|
void | rec_LL (double fl, double fr, double fl2, double fr2, size_t dim, grid_iterator &index) |
| recursive function for the calculation of merged-Down (L2 scalar products) without Bounding Box
|
|
void | recBB (double fl, double fr, size_t dim, grid_iterator &index) |
| recursive function for the calculation of Down (L2 scalar product) with Bounding Box
|
|
void | recBB_GL (double fl, double fr, size_t dim, grid_iterator &index) |
| recursive function for the calculation of merged-Down (gradient and L2 scalar product) with Bounding Box
|
|
void | recBB_grad (size_t dim, grid_iterator &index) |
| recursive function for the calculation of Down (gradient) with Bounding Box
|
|
void | recBB_LG (double fl, double fr, size_t dim, grid_iterator &index) |
| recursive function for the calculation of merged-Down (L2 scalar product and gradient) with Bounding Box
|
|
void | recBB_LL (double fl, double fr, double fl2, double fr2, size_t dim, grid_iterator &index) |
| recursive function for the calculation of merged-Down (L2 scalar products) with Bounding Box
|
|
Implementation of sweep operator () for enhanced Laplace operator, down operation.
This sweep operator calculates all downs (L2 scalar products and gradient) for a given dimension.
This operations performs the calculation of down in the direction of dimension dim on a grid with Dirichlet 0 boundary conditions.
- Parameters
-
source | sgpp::base::DataMatrix that contains the gridpoint's coefficients (values from the vector of the laplace operation) |
result | sgpp::base::DataMatrix that contains the result of the down operation |
index | an iterator object of the grid |
dim | current fixed dimension of the 'execution direction', here all downs are calculated |
Reimplemented in sgpp::pde::LaplaceEnhancedDownBBLinearBoundary.
References algoDims, boundingBox, cur_algo_dim_, sgpp::base::BoundingBox::getIntervalOffset(), sgpp::base::BoundingBox::getIntervalWidth(), sgpp::base::DataMatrix::getPointer(), numAlgoDims_, ptr_result_, ptr_source_, q_, rec(), rec_GL(), rec_grad(), rec_LG(), rec_LL(), recBB(), recBB_GL(), recBB_grad(), recBB_LG(), recBB_LL(), and t_.
void sgpp::pde::LaplaceEnhancedDownBBLinear::rec_GL |
( |
double |
fl, |
|
|
double |
fr, |
|
|
size_t |
dim, |
|
|
grid_iterator & |
index |
|
) |
| |
|
protected |
recursive function for the calculation of merged-Down (gradient and L2 scalar product) without Bounding Box
- Parameters
-
fl | first function value on the left boundary, L2 scalar product |
fr | first function value on the right boundary, L2 scalar product |
dim | current fixed dimension of the 'execution direction', here all downs are calculated |
index | an iterator object of the grid |
References cur_algo_dim_, sgpp::base::HashGridIterator::get(), h, sgpp::base::HashGridIterator::hint(), sgpp::base::HashGridStorage::isInvalidSequenceNumber(), sgpp::base::HashGridIterator::leftChild(), numAlgoDims_, ptr_result_, ptr_source_, rec_GL(), sgpp::base::HashGridIterator::seq(), sgpp::base::HashGridIterator::stepRight(), storage, and sgpp::base::HashGridIterator::up().
Referenced by sgpp::pde::LaplaceEnhancedDownBBLinearBoundary::operator()(), operator()(), and rec_GL().
void sgpp::pde::LaplaceEnhancedDownBBLinear::rec_LG |
( |
double |
fl, |
|
|
double |
fr, |
|
|
size_t |
dim, |
|
|
grid_iterator & |
index |
|
) |
| |
|
protected |
recursive function for the calculation of merged-Down (L2 scalar product and gradient) without Bounding Box
- Parameters
-
fl | first function value on the left boundary, L2 scalar product |
fr | first function value on the right boundary, L2 scalar product |
dim | current fixed dimension of the 'execution direction', here all downs are calculated |
index | an iterator object of the grid |
References cur_algo_dim_, sgpp::base::HashGridIterator::get(), h, sgpp::base::HashGridIterator::hint(), sgpp::base::HashGridStorage::isInvalidSequenceNumber(), sgpp::base::HashGridIterator::leftChild(), numAlgoDims_, ptr_result_, ptr_source_, rec_LG(), sgpp::base::HashGridIterator::seq(), sgpp::base::HashGridIterator::stepRight(), storage, and sgpp::base::HashGridIterator::up().
Referenced by sgpp::pde::LaplaceEnhancedDownBBLinearBoundary::operator()(), operator()(), and rec_LG().
void sgpp::pde::LaplaceEnhancedDownBBLinear::recBB_GL |
( |
double |
fl, |
|
|
double |
fr, |
|
|
size_t |
dim, |
|
|
grid_iterator & |
index |
|
) |
| |
|
protected |
recursive function for the calculation of merged-Down (gradient and L2 scalar product) with Bounding Box
- Parameters
-
fl | first function value on the left boundary, L2 scalar product |
fr | first function value on the right boundary, L2 scalar product |
dim | current fixed dimension of the 'execution direction', here all downs are calculated |
index | an iterator object of the grid |
References cur_algo_dim_, sgpp::base::HashGridIterator::get(), h, sgpp::base::HashGridIterator::hint(), sgpp::base::HashGridStorage::isInvalidSequenceNumber(), sgpp::base::HashGridIterator::leftChild(), numAlgoDims_, ptr_result_, ptr_source_, q_, recBB_GL(), sgpp::base::HashGridIterator::seq(), sgpp::base::HashGridIterator::stepRight(), storage, and sgpp::base::HashGridIterator::up().
Referenced by sgpp::pde::LaplaceEnhancedDownBBLinearBoundary::operator()(), operator()(), and recBB_GL().
void sgpp::pde::LaplaceEnhancedDownBBLinear::recBB_LG |
( |
double |
fl, |
|
|
double |
fr, |
|
|
size_t |
dim, |
|
|
grid_iterator & |
index |
|
) |
| |
|
protected |
recursive function for the calculation of merged-Down (L2 scalar product and gradient) with Bounding Box
- Parameters
-
fl | first function value on the left boundary, L2 scalar product |
fr | first function value on the right boundary, L2 scalar product |
dim | current fixed dimension of the 'execution direction', here all downs are calculated |
index | an iterator object of the grid |
References cur_algo_dim_, sgpp::base::HashGridIterator::get(), h, sgpp::base::HashGridIterator::hint(), sgpp::base::HashGridStorage::isInvalidSequenceNumber(), sgpp::base::HashGridIterator::leftChild(), numAlgoDims_, ptr_result_, ptr_source_, q_, recBB_LG(), sgpp::base::HashGridIterator::seq(), sgpp::base::HashGridIterator::stepRight(), storage, and sgpp::base::HashGridIterator::up().
Referenced by sgpp::pde::LaplaceEnhancedDownBBLinearBoundary::operator()(), operator()(), and recBB_LG().
void sgpp::pde::LaplaceEnhancedDownBBLinear::recBB_LL |
( |
double |
fl, |
|
|
double |
fr, |
|
|
double |
fl2, |
|
|
double |
fr2, |
|
|
size_t |
dim, |
|
|
grid_iterator & |
index |
|
) |
| |
|
protected |
recursive function for the calculation of merged-Down (L2 scalar products) with Bounding Box
- Parameters
-
fl | first function value on the left boundary |
fr | first function value on the right boundary |
fl2 | second function value on the left boundary |
fr2 | second function value on the right boundary |
dim | current fixed dimension of the 'execution direction', here all downs are calculated |
index | an iterator object of the grid |
References cur_algo_dim_, sgpp::base::HashGridIterator::get(), h, sgpp::base::HashGridIterator::hint(), sgpp::base::HashGridStorage::isInvalidSequenceNumber(), sgpp::base::HashGridIterator::leftChild(), numAlgoDims_, ptr_result_, ptr_source_, q_, recBB_LL(), sgpp::base::HashGridIterator::seq(), sgpp::base::HashGridIterator::stepRight(), storage, and sgpp::base::HashGridIterator::up().
Referenced by sgpp::pde::LaplaceEnhancedDownBBLinearBoundary::operator()(), operator()(), and recBB_LL().