Skip to content

Add preconditoner routines to TimeIntegrator with SUNDIALS support - #5513

Open
balos1 wants to merge 3 commits into
AMReX-Codes:developmentfrom
sundials-codes:feature/sundials-timeintegrator-precon
Open

Add preconditoner routines to TimeIntegrator with SUNDIALS support#5513
balos1 wants to merge 3 commits into
AMReX-Codes:developmentfrom
sundials-codes:feature/sundials-timeintegrator-precon

Conversation

@balos1

@balos1 balos1 commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR adds set_preconditioner and set_fast_preconditioner routines to the BaseIntegrator class which allow for preconditioner setup and solve callbacks to be attached and used with SUNDIALS implicit time integrators.

Additional background

Checklist

The proposed changes:

  • fix a bug or incorrect behavior in AMReX
  • add new capabilities to AMReX
  • changes answers in the test suite to more than roundoff level
  • are likely to significantly affect the results of downstream AMReX users
  • include documentation in the code and/or rst files, if appropriate

CC @gardner48

Tutorial (PR soon).

@balos1
balos1 requested a review from ajnonaka June 25, 2026 00:02
@ajnonaka

Copy link
Copy Markdown
Contributor

Thanks @balos1 ! I will create a tutorial with a simple custom preconditioner to test this.

@balos1

balos1 commented Jun 25, 2026

Copy link
Copy Markdown
Contributor Author

Thanks @balos1 ! I will create a tutorial with a simple custom preconditioner to test this.

https://github.com/sundials-codes/amrex-tutorials/tree/advdiff_sundials_hypreprecon/ExampleCodes/SUNDIALS/AdvDiff-MLMGPrecon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants