Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preconditioner reuse in petsc_nonlinear_solver #3208

Merged
merged 6 commits into from
Jul 26, 2022

Commits on Jun 14, 2022

  1. Preconditioner reuse in petsc_nonlinear_solver

    This alters the logical used in PetscNonlinearSolver to:
    
    1. Not free the SNES instance between solves
    2. Use SNESReset by default in between solves
    3. Add two new options "reuse preconditioner" and "reuse preconditioner maximum iterations" to support preconditioner reuse
    reverendbedford committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    c6f31e1 View commit details
    Browse the repository at this point in the history
  2. Fix failing MOOSE tests

    Fix failing tests by changing SNESReset back to old behavior of
    calling the custom _snes destructor.
    reverendbedford committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    5e1849f View commit details
    Browse the repository at this point in the history
  3. Modified setup to provide default getter

    Use getter/setter to supply the required properties for the new reuse
    capability.  Default to libmesh_not_implemented() in superclass,
    implemented in the petsc solvers.
    reverendbedford committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    c161af0 View commit details
    Browse the repository at this point in the history
  4. Fix error in passing max_its to monitor

    This fixes an error I introduced in passing the value of the
    maximum iterations to the monitor.  The storage there needs to
    persist across multiple solves with the same solver.
    reverendbedford committed Jun 14, 2022
    Configuration menu
    Copy the full SHA
    73f48d6 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2022

  1. Configuration menu
    Copy the full SHA
    9362d57 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2022

  1. Configuration menu
    Copy the full SHA
    a292390 View commit details
    Browse the repository at this point in the history