SG++-Doxygen-Documentation
Loading...
Searching...
No Matches
sgpp::base::AdaptivityConfiguration Struct Reference

structure that can be used by application to define adaptivity strategies More...

#include <Grid.hpp>

Public Attributes

CoarseningFunctorType coarseningFunctorType_ = CoarseningFunctorType::Surplus
 coarsening indicator
 
double coarseningThreshold_ = 0.0
 coarsening threshold for surpluses
 
bool coarsenInitialPoints_ = false
 prevent coarsening of initial grid points, needed for some decompositions
 
bool errorBasedRefinement_ = false
 other refinement strategy, that is more expensive, but yields better results
 
size_t errorBufferSize_ = 3
 amount of error values to consider when checking for convergence in case of error based refinement
 
double errorConvergenceThreshold_ = 0.001
 threshold for convergence in case error based refinement is applied
 
size_t errorMinInterval_ = 0
 minimum amount of iterations before the next refinement is allowed to happen in case of error based refinement
 
bool levelPenalize_ = false
 determines if finer grid levels should be penalized when finding points to refine
 
bool maxLevelType_ = false
 refinement type: false: classic, true: maxLevel
 
size_t numCoarseningPoints_ = 5
 max. number of points to be coarsened
 
size_t numRefinementPoints_ = 5
 max. number of points to be refined
 
size_t numRefinements_ = 1
 number of refinements
 
double percent_ = 1.0
 max. percent of points to be refined/coarsened
 
bool precomputeEvaluations_ = true
 in case of zero corssing based refinement: determines if evaluations should be precomupted
 
RefinementFunctorType refinementFunctorType_ = RefinementFunctorType::Surplus
 refinement indicator
 
size_t refinementPeriod_ = 1
 refinement will be triggered each refinementPeriod instances (approximately) in case of non error based refinement
 
double refinementThreshold_ = 0.0
 refinement threshold for surpluses
 
std::vector< double > scalingCoefficients_ = std::vector<double>()
 in case of data based refinements: determines the scaling coefficients for each class
 
AdaptivityThresholdType thresholdType_ = AdaptivityThresholdType::Absolute
 threshold type
 

Detailed Description

structure that can be used by application to define adaptivity strategies

Member Data Documentation

◆ coarseningFunctorType_

◆ coarseningThreshold_

◆ coarsenInitialPoints_

bool sgpp::base::AdaptivityConfiguration::coarsenInitialPoints_ = false

◆ errorBasedRefinement_

◆ errorBufferSize_

◆ errorConvergenceThreshold_

◆ errorMinInterval_

size_t sgpp::base::AdaptivityConfiguration::errorMinInterval_ = 0

◆ levelPenalize_

bool sgpp::base::AdaptivityConfiguration::levelPenalize_ = false

◆ maxLevelType_

◆ numCoarseningPoints_

size_t sgpp::base::AdaptivityConfiguration::numCoarseningPoints_ = 5

◆ numRefinementPoints_

◆ numRefinements_

◆ percent_

◆ precomputeEvaluations_

◆ refinementFunctorType_

◆ refinementPeriod_

size_t sgpp::base::AdaptivityConfiguration::refinementPeriod_ = 1

◆ refinementThreshold_

◆ scalingCoefficients_

std::vector<double> sgpp::base::AdaptivityConfiguration::scalingCoefficients_ = std::vector<double>()

◆ thresholdType_


The documentation for this struct was generated from the following file: