KASKADE 7 development version
|
Base class for refinement criteria. More...
#include <errorest.hh>
Base class for refinement criteria.
Definition at line 30 of file errorest.hh.
Public Member Functions | |
std::vector< double > | threshold (boost::multi_array< double, 2 > const &normalizedErrors) const |
Computes the thresholds for refinement. More... | |
std::vector< double > Kaskade::RefinementCriterion::threshold | ( | boost::multi_array< double, 2 > const & | normalizedErrors | ) | const |
Computes the thresholds for refinement.
normalizedErrors | a twodimensional array containing the normalized error contribution for each cell and each variable, i.e. normalizedErrors[i][j] contains the error contribution of cell i to the error in variable j, divided by the tolerance, such that the sum over i should not exceed one (for acceptance) |
Referenced by Kaskade::EmbeddedErrorEstimator< VariableSetDescription, Scaling >::estimate().