<div dir="ltr">Hi Bernigaud,<div><br></div><div>To be clear, you have SNES working with DMDA in AMRex, but without adapting dynamically and you want to know what to do next.</div><div><br></div><div>Is that right?</div><div><br></div><div>Mark</div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 21, 2022 at 11:46 AM Bernigaud Pierre <<a href="mailto:pierre.bernigaud@onera.fr">pierre.bernigaud@onera.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Greetings,<br>
<br>
I hope you are doing great.<br>
<br>
We are currently working on parallel solver employing PETSc for the main <br>
numerical methods (GMRES, Newton-Krylov method). We would be interested <br>
in combining the PETSc solvers with the AMR framework provided by the <br>
library AMReX (<a href="https://amrex-codes.github.io/amrex/" rel="noreferrer" target="_blank">https://amrex-codes.github.io/amrex/</a>). I know that within <br>
the AMReX framework the KSP solvers provided by PETSc can be used, but <br>
what about the SNES solvers? More specifically, we are using a DMDA to <br>
manage parallel communications during the SNES calculations, and I am <br>
wondering how it would behave in a context where the data layout between <br>
processors is modified by the AMR code when refining the grid.<br>
<br>
Would you have any experience on this matter ? Is there any <br>
collaboration going on between PETsc and AMReX, or would you know of a <br>
code using both of them?<br>
<br>
Respectfully,<br>
<br>
Pierre Bernigaud<br>
<br>
</blockquote></div>