22template <
typename D,
typename CT>
35 template <
typename SignatureTraits,
int n>
36 struct CorrectionType;
38 template <
typename SignatureTraits>
39 struct CorrectionType<SignatureTraits, 1>
41 using type =
typename SignatureTraits::template Range<0>;
44 template <
typename SignatureTraits>
45 struct CorrectionType<SignatureTraits, 2>
47 using type =
typename SignatureTraits::template Range<1>;
51 struct NonlinearSolverStateFactory
54 using SignatureTraits =
typename F::Traits;
55 using Domain =
typename SignatureTraits::Domain;
57 constexpr static int nDerivatives = F::nDerivatives;
60 using type = NonlinearSolverState<Domain, typename CorrectionType<SignatureTraits, nDerivatives>::type>;
Contains stl-like type traits.
Implementation of the solver information returned by the nonlinear solvers.
Definition: assemblermanipulatorbuildingblocks.hh:22
State for nonlinear solvers.
Definition: nonlinearsolverstate.hh:24
const CorrectionType & correction
Definition: nonlinearsolverstate.hh:29
D Domain
Definition: nonlinearsolverstate.hh:25
CT CorrectionType
Definition: nonlinearsolverstate.hh:26
const Domain & domain
Definition: nonlinearsolverstate.hh:28
const NonLinearSolverInformation & information
Definition: nonlinearsolverstate.hh:30
Information about the result of a non-linear solver.
Definition: solverinfos.hh:21