The Stopping criterion namespace.
More...
|
using | CriterionFactory = AbstractFactory<Criterion, CriterionArgs> |
| Declares an Abstract Factory specialized for Criterions.
|
|
template<typename ConcreteFactory , typename ConcreteCriterion , typename ParametersType , typename PolymorphicBase = CriterionFactory> |
using | EnableDefaultCriterionFactory |
| This is an alias for the EnableDefaultFactory mixin, which correctly sets the template parameters to enable a subclass of CriterionFactory.
|
|
|
enum class | mode { absolute
, initial_resnorm
, rhs_norm
} |
| The mode for the residual norm criterion. More...
|
|
|
template<typename FactoryContainer > |
std::shared_ptr< const CriterionFactory > | combine (FactoryContainer &&factories) |
| Combines multiple criterion factories into a single combined criterion factory.
|
|
The Stopping criterion namespace.
Stopping criteria
◆ EnableDefaultCriterionFactory
template<typename ConcreteFactory , typename ConcreteCriterion , typename ParametersType , typename PolymorphicBase = CriterionFactory>
Initial value:
EnableDefaultFactory<ConcreteFactory, ConcreteCriterion, ParametersType,
PolymorphicBase>
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 parameter] |
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 |