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

This class is a helper class to configure some adaptive refinement methods. More...

#include <AdaptiveRefinementStrategy.hpp>

Public Types

typedef std::function< double(std::vector< double > const &, size_t)> priority_function
 

Public Member Functions

 AdaptiveRefinementStrategy (priority_function func)
 
double computePriority (std::vector< double > const &predecessorNorms, size_t numNewPoints)
 

Static Public Member Functions

static AdaptiveRefinementStrategy arithmeticMeanStrategy ()
 
static AdaptiveRefinementStrategy geometricMeanStrategy ()
 
static AdaptiveRefinementStrategy maxStrategy ()
 
static AdaptiveRefinementStrategy minStrategy ()
 

Detailed Description

This class is a helper class to configure some adaptive refinement methods.

More precisely, it implements some kind of averaging scores of predecessor levels. Standard averaging techniques are already implemented in static methods.

Member Typedef Documentation

◆ priority_function

typedef std::function<double(std::vector<double> const &, size_t)> sgpp::combigrid::AdaptiveRefinementStrategy::priority_function

Constructor & Destructor Documentation

◆ AdaptiveRefinementStrategy()

sgpp::combigrid::AdaptiveRefinementStrategy::AdaptiveRefinementStrategy ( priority_function  func)
explicit

Member Function Documentation

◆ arithmeticMeanStrategy()

AdaptiveRefinementStrategy sgpp::combigrid::AdaptiveRefinementStrategy::arithmeticMeanStrategy ( )
static

◆ computePriority()

double sgpp::combigrid::AdaptiveRefinementStrategy::computePriority ( std::vector< double > const &  predecessorNorms,
size_t  numNewPoints 
)

◆ geometricMeanStrategy()

AdaptiveRefinementStrategy sgpp::combigrid::AdaptiveRefinementStrategy::geometricMeanStrategy ( )
static

◆ maxStrategy()

AdaptiveRefinementStrategy sgpp::combigrid::AdaptiveRefinementStrategy::maxStrategy ( )
static

◆ minStrategy()

AdaptiveRefinementStrategy sgpp::combigrid::AdaptiveRefinementStrategy::minStrategy ( )
static

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