[petsc-users] PETSc / AMRex

Matthew Knepley knepley at gmail.com
Tue Jun 21 12:16:34 CDT 2022

On Tue, Jun 21, 2022 at 10:01 AM Mark Adams <mfadams at lbl.gov> wrote:

> Hi Bernigaud,
> To be clear, you have SNES working with DMDA in AMRex, but
> without adapting dynamically and you want to know what to do next.
> Is that right?

I will let Mark answer the AMReX question since he is more knowledgeable.

I just wanted to note that PETSc has good integration with the p4est (
www.p4est.org) AMR package. We can manage all parallel data and
solver integration with it out of the box. Mark also has extensive
experience here.



> Mark

> On Tue, Jun 21, 2022 at 11:46 AM Bernigaud Pierre <
> pierre.bernigaud at onera.fr> wrote:
>> Greetings,
>> I hope you are doing great.
>> We are currently working on parallel solver employing PETSc for the main
>> numerical methods (GMRES, Newton-Krylov method). We would be interested
>> in combining the PETSc solvers with the AMR framework provided by the
>> library AMReX (https://amrex-codes.github.io/amrex/). I know that within
>> the AMReX framework the KSP solvers provided by PETSc can be used, but
>> what about the SNES solvers? More specifically, we are using a DMDA to
>> manage parallel communications during the SNES calculations, and I am
>> wondering how it would behave in a context where the data layout between
>> processors is modified by the AMR code when refining the grid.
>> Would you have any experience on this matter ? Is there any
>> collaboration going on between PETsc and AMReX, or would you know of a
>> code using both of them?
>> Respectfully,
>> Pierre Bernigaud

What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220621/bbf4ee92/attachment.html>

More information about the petsc-users mailing list