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

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

#include <PhiPhiUpBBLinearBoundary.hpp>

Inheritance diagram for sgpp::pde::PhiPhiUpBBLinearBoundary:
sgpp::pde::PhiPhiUpBBLinear

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 up in the direction of dimension dim More...
 
 PhiPhiUpBBLinearBoundary (sgpp::base::GridStorage *storage)
 Constructor. More...
 
virtual ~PhiPhiUpBBLinearBoundary ()
 Destructor. More...
 
- Public Member Functions inherited from sgpp::pde::PhiPhiUpBBLinear
 PhiPhiUpBBLinear (sgpp::base::GridStorage *storage)
 Constructor. More...
 
virtual ~PhiPhiUpBBLinear ()
 Destructor. More...
 

Additional Inherited Members

- Protected Types inherited from sgpp::pde::PhiPhiUpBBLinear
typedef sgpp::base::GridStorage::grid_iterator grid_iterator
 
- Protected Member Functions inherited from sgpp::pde::PhiPhiUpBBLinear
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 without bounding Box support 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 Up with Bounding Box Support More...
 
- Protected Attributes inherited from sgpp::pde::PhiPhiUpBBLinear
sgpp::base::BoundingBoxboundingBox
 Pointer to the bounding box Obejct. More...
 
sgpp::base::GridStoragestorage
 Pointer to sgpp::base::GridStorage object. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ PhiPhiUpBBLinearBoundary()

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

Constructor.

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

◆ ~PhiPhiUpBBLinearBoundary()

sgpp::pde::PhiPhiUpBBLinearBoundary::~PhiPhiUpBBLinearBoundary ( )
virtual

Destructor.

Member Function Documentation

◆ operator()()

void sgpp::pde::PhiPhiUpBBLinearBoundary::operator() ( sgpp::base::DataVector source,
sgpp::base::DataVector result,
grid_iterator index,
size_t  dim 
)
virtual

This operations performs the calculation of up 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!

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 up operation
indexa iterator object of the grid
dimcurrent fixed dimension of the 'execution direction'

Reimplemented from sgpp::pde::PhiPhiUpBBLinear.

References sgpp::pde::PhiPhiUpBBLinear::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::PhiPhiUpBBLinear::rec(), sgpp::pde::PhiPhiUpBBLinear::recBB(), sgpp::base::HashGridIterator::resetToLeftLevelZero(), sgpp::base::HashGridIterator::resetToLevelOne(), sgpp::base::HashGridIterator::resetToRightLevelZero(), sgpp::base::HashGridIterator::seq(), and sgpp::pde::PhiPhiUpBBLinear::storage.


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