SG++-Doxygen-Documentation
sgpp::pde::PhiPhiDownBBLinearStretchedBoundary Class Reference

Implementation of sgpp::base::sweep operator (): 1D Down for Bilinearform \(\int_{x} \phi(x) \phi(x) dx\) on linear boundary grids. More...

#include <PhiPhiDownBBLinearStretchedBoundary.hpp>

Inheritance diagram for sgpp::pde::PhiPhiDownBBLinearStretchedBoundary:
sgpp::pde::PhiPhiDownBBLinearStretched

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...
 
 PhiPhiDownBBLinearStretchedBoundary (sgpp::base::GridStorage *storage)
 Constructor. More...
 
virtual ~PhiPhiDownBBLinearStretchedBoundary ()
 Destructor. More...
 
- Public Member Functions inherited from sgpp::pde::PhiPhiDownBBLinearStretched
 PhiPhiDownBBLinearStretched (sgpp::base::GridStorage *storage)
 Constructor. More...
 
virtual ~PhiPhiDownBBLinearStretched ()
 Destructor. More...
 

Additional Inherited Members

- Protected Types inherited from sgpp::pde::PhiPhiDownBBLinearStretched
typedef sgpp::base::GridStorage::grid_iterator grid_iterator
 
- Protected Member Functions inherited from sgpp::pde::PhiPhiDownBBLinearStretched
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 with sgpp::base::Stretching More...
 
- Protected Attributes inherited from sgpp::pde::PhiPhiDownBBLinearStretched
sgpp::base::GridStoragestorage
 Pointer to the sgpp::base::GridStorage Object. More...
 
sgpp::base::Stretchingstretching
 Pointer to the bounding box Obejct. More...
 

Detailed Description

Implementation of sgpp::base::sweep operator (): 1D Down for Bilinearform \(\int_{x} \phi(x) \phi(x) dx\) on linear boundary grids.

Constructor & Destructor Documentation

◆ PhiPhiDownBBLinearStretchedBoundary()

sgpp::pde::PhiPhiDownBBLinearStretchedBoundary::PhiPhiDownBBLinearStretchedBoundary ( sgpp::base::GridStorage storage)
explicit

Constructor.

Parameters
storagethe grid's sgpp::base::GridStorage object

◆ ~PhiPhiDownBBLinearStretchedBoundary()

sgpp::pde::PhiPhiDownBBLinearStretchedBoundary::~PhiPhiDownBBLinearStretchedBoundary ( )
virtual

Destructor.

Member Function Documentation

◆ operator()()

void sgpp::pde::PhiPhiDownBBLinearStretchedBoundary::operator() ( sgpp::base::DataVector source,
sgpp::base::DataVector result,
grid_iterator index,
size_t  dim 
)
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

Parameters
sourcesgpp::base::DataVector that contains the gridpoint's coefficients (values from the vector of the laplace operation)
resultsgpp::base::DataVector that contains the result of the down operation
indexa iterator object of the grid
dimcurrent fixed dimension of the 'execution direction'

Reimplemented from sgpp::pde::PhiPhiDownBBLinearStretched.

References sgpp::base::BoundingBox::getIntervalWidth(), sgpp::base::BoundingBox::hasDirichletBoundaryLeft(), sgpp::base::BoundingBox::hasDirichletBoundaryRight(), sgpp::base::HashGridIterator::hint(), sgpp::base::HashGridStorage::isInvalidSequenceNumber(), sgpp::pde::PhiPhiDownBBLinearStretched::rec(), sgpp::base::HashGridIterator::resetToLeftLevelZero(), sgpp::base::HashGridIterator::resetToLevelOne(), sgpp::base::HashGridIterator::resetToRightLevelZero(), sgpp::base::HashGridIterator::seq(), sgpp::pde::PhiPhiDownBBLinearStretched::storage, and sgpp::pde::PhiPhiDownBBLinearStretched::stretching.


The documentation for this class was generated from the following files: