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

The level-numPoints-mapping can be customized with a function. More...

#include <CustomGrowthStrategy.hpp>

Inheritance diagram for sgpp::combigrid::CustomGrowthStrategy:
sgpp::combigrid::AbstractGrowthStrategy

Public Member Functions

 CustomGrowthStrategy (std::function< size_t(size_t)> func)
 
virtual size_t numPoints (size_t level)
 
virtual ~CustomGrowthStrategy ()
 
- Public Member Functions inherited from sgpp::combigrid::AbstractGrowthStrategy
virtual ~AbstractGrowthStrategy ()
 

Detailed Description

The level-numPoints-mapping can be customized with a function.

Constructor & Destructor Documentation

◆ CustomGrowthStrategy()

sgpp::combigrid::CustomGrowthStrategy::CustomGrowthStrategy ( std::function< size_t(size_t)>  func)
explicit

◆ ~CustomGrowthStrategy()

sgpp::combigrid::CustomGrowthStrategy::~CustomGrowthStrategy ( )
virtual

Member Function Documentation

◆ numPoints()

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

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