14 double damping_reduction)
40 return {.success =
true, .step_length = damping, .x_new_is_set =
true};
MathLib::EigenMatrix GlobalMatrix
MathLib::EigenVector GlobalVector
DampingReductionStrategy(double damping, double damping_reduction)
StepResult applyStep(GlobalVector const &x, GlobalVector const &minus_delta_x, GlobalVector const &res, GlobalMatrix const &J, GlobalVector &x_new, NewtonStepContext &ctx, int iteration) override
double _damping_reduction
DampingPolicy const * _damping_policy
void axpy(PETScVector &y, PetscScalar const a, PETScVector const &x)
Result returned by a step strategy's applyStep().