[petsc-users] Creating DMPlex from the subsection of a DM
Vilmer Dahlberg
vilmer.dahlberg at solid.lth.se
Wed Feb 7 04:36:36 CST 2024
Dear PETSc dev team,
I am working on an application which makes use of DMPlex. I would like to extract a subsection of the dm based on some field metric defined on its vertices or cells. I am using DMLabel to mark my boundary conditions and would like the child mesh to retain some of the labels. Is there a simple way of doing this? I could spend some time writing my own implementation, looping over cells and building a new DM from scratch or using something like DMPlexBuildFromCellListParallel, but I feel like there should exist a solution. Could you point me in the right direction?
Thanks in advance!
Best,
Vilmer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20240207/43c92a4a/attachment.html>
More information about the petsc-users
mailing list