Skip to content

Absolute step tolerance is not passed to petsc nonlinear solver #4328

@GiudGiud

Description

@GiudGiud

I think

in newton_solver.C you see it being used by that solver. Upstream you can see the parameter being set in the system, and then passed to solver.

but in the petsc non linear solver class it appears unused unlike the other tolerance parameters, that are used below for example:

  // Set the tolerances for the non-linear solver.
  LibmeshPetscCall(SNESSetTolerances(_snes,
                                     this->absolute_residual_tolerance,
                                     this->relative_residual_tolerance,
                                     this->relative_step_tolerance,
                                     this->max_nonlinear_iterations,
                                     this->max_function_evaluations));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions