Coupling mesh adaptation tools Mmg and ParMmg to PETSc and Firedrake ==================================================================== I led the effort to integrate the `Mmg and ParMmg `__ metric-based mesh adaptation tools into the numerical solver library `PETSc <../petsc.html>`__, and subsequently making this functionality available in the `Firedrake <../firedrake.html>`__ finite element library. Mmg, ParMmg, and PETSc are all written in C. Firedrake is a Python-based package which automatically generates C kernels and uses PETSc to solve linear and nonlinear systems. Funding information """"""""""""""""""" This work was done as part of my postdoc at `Imperial College London `__, which was funded by an `ARCHER2 eCSE `__ grant from `EPCC `__. Outputs """"""" * Research note describing this work: :cite:`WK22a`. * Report describing the postdoc more generally: :cite:`WP22`. * `PETSc manual page `__. * `ARCHER2 seminar recording `__. * `News item on Mmg website `__. * This work led onto the `Firedrake-based adaptation tools `__ project.