SUNDIALS and Time Integrators

These example codes demonstrate how to use the AMReX TimeIntegrator class with SUNDIALS backend for integration.

The first example code at amrex-tutorials/ExampleCodes/SUNDIALS/Single-Rate solves the heat equation:

\[\frac{\partial\phi}{\partial t} = \nabla^2\phi.\]

The inputs file contains a template for single process time integration strategies.

The second example code at amrex-tutorials/ExampleCodes/SUNDIALS/Reaction-Diffusion solves the reaction-diffusion equation, where \(R\) and \(D\) are user-supplied reaction and diffusion coefficients:

\[\frac{\partial\phi}{\partial t} = D \nabla^2\phi - R \phi.\]

The inputs file contains a template for MRI approaches, where the diffusion process can be treated as a “fast” partition relative to the reaction process. Please see each respective inputs file or AMReX User Guide:Time Integration for more details.