SG++-Doxygen-Documentation
|
Implementation of sweep operator (): 1D Up for Bilinearform \(\int_{x} \phi(x) \phi(x) dx\) on mod-linear grids. More...
#include <PhiPhiUpModLinear.hpp>
Public Member Functions | |
void | operator() (sgpp::base::DataVector &source, sgpp::base::DataVector &result, grid_iterator &index, size_t dim) |
This operations performs the calculation of up in the direction of dimension dim More... | |
PhiPhiUpModLinear (sgpp::base::GridStorage *storage) | |
Constructor. More... | |
~PhiPhiUpModLinear () | |
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 Up More... | |
Protected Attributes | |
sgpp::base::GridStorage * | storage |
Pointer to the sgpp::base::GridStorage object. More... | |
Implementation of sweep operator (): 1D Up for Bilinearform \(\int_{x} \phi(x) \phi(x) dx\) on mod-linear grids.
|
protected |
|
explicit |
Constructor.
storage | the grid's sgpp::base::GridStorage object |
sgpp::pde::PhiPhiUpModLinear::~PhiPhiUpModLinear | ( | ) |
Destructor.
void sgpp::pde::PhiPhiUpModLinear::operator() | ( | sgpp::base::DataVector & | source, |
sgpp::base::DataVector & | result, | ||
grid_iterator & | index, | ||
size_t | dim | ||
) |
This operations performs the calculation of up in the direction of dimension dim
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' |
References rec().
|
protected |
recursive function for the calculation of Up
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::combigrid::pow(), sgpp::base::HashGridIterator::seq(), sgpp::base::HashGridIterator::stepRight(), storage, and sgpp::base::HashGridIterator::up().
Referenced by operator()().
|
protected |
Pointer to the sgpp::base::GridStorage object.
Referenced by rec().