SG++-Doxygen-Documentation
sgpp::combigrid::ExponentialNoBoundaryPointOrdering Class Reference

Point ordering class with the slowest possible growth (n = 2^(l+1) - 1) that makes uniform points without boundary nested. More...

#include <ExponentialNoBoundaryPointOrdering.hpp>

Inheritance diagram for sgpp::combigrid::ExponentialNoBoundaryPointOrdering:
sgpp::combigrid::AbstractPointOrdering

Public Member Functions

virtual size_t convertIndex (size_t level, size_t numPoints, size_t index)
 Converts a level-independent index into a corresponding level-dependent index in for the PointDistribution. More...
 
virtual std::shared_ptr< AbstractPermutationIteratorgetSortedPermutationIterator (size_t level, std::vector< double > const &points, size_t numPoints)
 Returns a permutation iterator which first returns the level-independent index of the leftmost point, then the level-independent index of the second-leftmost point, etc. More...
 
virtual size_t numPoints (size_t level)
 Returns the number of points in the given level. More...
 
virtual ~ExponentialNoBoundaryPointOrdering ()
 
- Public Member Functions inherited from sgpp::combigrid::AbstractPointOrdering
virtual ~AbstractPointOrdering ()
 

Detailed Description

Point ordering class with the slowest possible growth (n = 2^(l+1) - 1) that makes uniform points without boundary nested.

Constructor & Destructor Documentation

◆ ~ExponentialNoBoundaryPointOrdering()

sgpp::combigrid::ExponentialNoBoundaryPointOrdering::~ExponentialNoBoundaryPointOrdering ( )
virtual

Member Function Documentation

◆ convertIndex()

size_t sgpp::combigrid::ExponentialNoBoundaryPointOrdering::convertIndex ( size_t  level,
size_t  numPoints,
size_t  index 
)
virtual

Converts a level-independent index into a corresponding level-dependent index in for the PointDistribution.

Parameters
levelThe level where the index is considered
numPointsThe number of points at the level
indexThe index of the concrete point in the level

Implements sgpp::combigrid::AbstractPointOrdering.

References sgpp::combigrid::pow().

◆ getSortedPermutationIterator()

std::shared_ptr< AbstractPermutationIterator > sgpp::combigrid::ExponentialNoBoundaryPointOrdering::getSortedPermutationIterator ( size_t  level,
std::vector< double > const &  points,
size_t  numPoints 
)
virtual

Returns a permutation iterator which first returns the level-independent index of the leftmost point, then the level-independent index of the second-leftmost point, etc.

Implements sgpp::combigrid::AbstractPointOrdering.

References level, and numPoints().

◆ numPoints()

size_t sgpp::combigrid::ExponentialNoBoundaryPointOrdering::numPoints ( size_t  level)
virtual

Returns the number of points in the given level.

Implements sgpp::combigrid::AbstractPointOrdering.

References sgpp::combigrid::pow().

Referenced by getSortedPermutationIterator().


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