version 0.4
Ikarus::Concepts::AdaptiveStepSizingStrategy Concept Reference

Concept to check if a type implements all the needed functions to be an adaptive step sizing method. More...

#include <ikarus/utils/concepts.hh>

Concept definition

template<typename AdaptiveStepSizing, typename NonLinearSolverInformation, typename SubsidiaryArgs, typename NonLinearOperator>
concept Ikarus::Concepts::AdaptiveStepSizingStrategy = requires(AdaptiveStepSizing adaptiveSS, NonLinearSolverInformation info,
SubsidiaryArgs args, NonLinearOperator nop) {
{ adaptiveSS(info, args, nop) } -> std::same_as<void>;
{ adaptiveSS.targetIterations() } -> std::same_as<int>;
{ adaptiveSS.setTargetIterations(std::declval<int>()) } -> std::same_as<void>;
}
Concept to check if a type implements all the needed functions to be an adaptive step sizing method.
Definition: concepts.hh:202

Detailed Description

Template Parameters
AdaptiveStepSizingThe adaptive step sizing type.
NonLinearSolverInformationThe non-linear solver information type.
SubsidiaryArgsThe subsidiary arguments type.