The Stopping criterion namespace.
More...
|
class | Combined |
| The Combined class is used to combine multiple criterions together through an OR operation. More...
|
|
class | Criterion |
| The Criterion class is a base class for all stopping criteria. More...
|
|
struct | CriterionArgs |
| This struct is used to pass parameters to the EnableDefaultCriterionFactoryCriterionFactory::generate() method. More...
|
|
class | Iteration |
| The Iteration class is a stopping criterion which stops the iteration process after a preset number of iterations. More...
|
|
class | ResidualNormReduction |
| The ResidualNormReduction class is a stopping criterion which stops the iteration process when the relative residual norm is below a certain threshold. More...
|
|
class | Time |
| The Time class is a stopping criterion which stops the iteration process after a certain amout of time has passed. More...
|
|
|
template<typename FactoryContainer > |
std::shared_ptr< const CriterionFactory > | combine (FactoryContainer &&factories) |
| Combines multiple criterion factories into a single combined criterion factory. More...
|
|
The Stopping criterion namespace.
Stopping criteria
◆ EnableDefaultCriterionFactory
template<typename ConcreteFactory , typename ConcreteCriterion , typename ParametersType , typename PolymorphicBase = CriterionFactory>
This is an alias for the EnableDefaultFactory mixin, which correctly sets the template parameters to enable a subclass of CriterionFactory.
- Template Parameters
-
ConcreteFactory | the concrete factory which is being implemented [CRTP parmeter] |
ConcreteCriterion | the concrete Criterion type which this factory produces, needs to have a constructor which takes a const ConcreteFactory *, and a const CriterionArgs * as parameters. |
ParametersType | a subclass of enable_parameters_type template which defines all of the parameters of the factory |
PolymorphicBase | parent of ConcreteFactory in the polymorphic hierarchy, has to be a subclass of CriterionFactory |