![]()  | 
  
    SG++-Doxygen-Documentation
    
   | 
 
Class that implements the hierarchisation on a polynomial sparse grid. More...
#include <HierarchisationPolyClenshawCurtisBoundary.hpp>
Public Member Functions | |
| HierarchisationPolyClenshawCurtisBoundary (GridStorage &storage, SPolyClenshawCurtisBoundaryBase *base) | |
| Constructor, must be bind to a grid.  More... | |
| void | operator() (DataVector &source, DataVector &result, grid_iterator &index, size_t dim) | 
| Implements operator() needed by the sweep class during the grid traversal.  More... | |
| ~HierarchisationPolyClenshawCurtisBoundary () | |
| Destructor.  More... | |
Protected Types | |
| typedef GridStorage::grid_iterator | grid_iterator | 
| typedef index_t | index_type | 
| typedef level_t | level_type | 
Protected Member Functions | |
| void | rec (DataVector &source, DataVector &result, grid_iterator &index, size_t dim, DataVector &coeffs) | 
| Recursive hierarchisaton algorithm, this algorithms works in-place -> source should be equal to result.  More... | |
Protected Attributes | |
| SPolyClenshawCurtisBoundaryBase * | base | 
| the base  More... | |
| ClenshawCurtisTable & | clenshawCurtisTable | 
| clenshaw curtis points  More... | |
| GridStorage & | storage | 
| the grid object  More... | |
Class that implements the hierarchisation on a polynomial sparse grid.
Therefore the ()operator has to be implement in order to use the sweep algorithm for the grid traversal
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
| sgpp::base::HierarchisationPolyClenshawCurtisBoundary::HierarchisationPolyClenshawCurtisBoundary | ( | GridStorage & | storage, | 
| SPolyClenshawCurtisBoundaryBase * | base | ||
| ) | 
Constructor, must be bind to a grid.
| storage | the grid storage object of the the grid, on which the hierarchisation should be executed | 
| base | The polynomial basis functions | 
| sgpp::base::HierarchisationPolyClenshawCurtisBoundary::~HierarchisationPolyClenshawCurtisBoundary | ( | ) | 
Destructor.
| void sgpp::base::HierarchisationPolyClenshawCurtisBoundary::operator() | ( | DataVector & | source, | 
| DataVector & | result, | ||
| grid_iterator & | index, | ||
| size_t | dim | ||
| ) | 
Implements operator() needed by the sweep class during the grid traversal.
This function is applied to the whole grid.
| source | this DataVector holds the node base coefficients of the function that should be applied to the sparse grid | 
| result | this DataVector holds the linear base coefficients of the sparse grid's ansatz-functions | 
| index | a iterator object of the grid | 
| dim | current fixed dimension of the 'execution direction' | 
References sgpp::base::HashGridIterator::getGridDepth(), sgpp::base::HashGridIterator::hint(), sgpp::base::HashGridStorage::isInvalidSequenceNumber(), rec(), sgpp::base::HashGridIterator::resetToLeftLevelZero(), sgpp::base::HashGridIterator::resetToLevelOne(), sgpp::base::HashGridIterator::resetToRightLevelZero(), sgpp::base::HashGridIterator::seq(), sgpp::base::DataVector::setAll(), and storage.
      
  | 
  protected | 
Recursive hierarchisaton algorithm, this algorithms works in-place -> source should be equal to result.
| source | this DataVector holds the node base coefficients of the function that should be applied to the sparse grid | 
| result | this DataVector holds the linear base coefficients of the sparse grid's ansatz-functions | 
| index | a iterator object of the grid | 
| dim | current fixed dimension of the 'execution direction' | 
| coeffs | coefficients of the basis functions as calculated so far | 
References base, clenshawCurtisTable, sgpp::base::PolyClenshawCurtisBoundaryBasis< LT, IT >::evalHierToTop(), sgpp::base::HashGridIterator::get(), sgpp::base::ClenshawCurtisTable::getPoint(), sgpp::base::HashGridIterator::hint(), 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()().
      
  | 
  protected | 
the base
Referenced by rec().
      
  | 
  protected | 
clenshaw curtis points
Referenced by rec().
      
  | 
  protected | 
the grid object
Referenced by operator()(), and rec().