[petsc-dev] Inquiry about contributing to MMG interface

neil liu liufield at gmail.com
Wed Feb 5 08:37:55 CST 2025


Dear developers,

I am currently working with MMG in the context of PETSc and have identified
a need to modify the existing MMG interface, DMAdaptMetric_Mmg_Plex(), for
our use case. Given these requirements, I would like to explore the
feasibility of contributing to PETSc to enhance this interface, which has
been verified and validated in our research code.
*Proposed Modifications:*

   1.

   *Additional Labels for Physical Entities:*
   - In addition to the existing bdLabel and rgLabel, our case requires two
      additional labels to represent physical vertices and edges within the
      computational domain (3D).
      - One approach is to introduce two new parameters in the subroutine’s
      input list. However, this may require modifications across related
      components, such as Pragmatic.
   2.

   *Support for Open Boundaries:*
   - The current interface does not support open boundaries, a feature
      available in MMG.
      - As a result, several MMG benchmark cases involving open boundary
      remeshing cannot be executed within PETSc.

Would this be a viable contribution to PETSc? If so, I would appreciate any
guidance on the best approach to implementing these changes while
maintaining compatibility with existing features.

Looking forward to your thoughts.

Best regards,

Thanks,
Xiaodong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20250205/0e8d9f79/attachment.html>


More information about the petsc-dev mailing list