[petsc-users] DMPlex Interpolation

Mike Michell mi.mike1021 at gmail.com
Thu Aug 25 18:11:55 CDT 2022


Hi, this is a duplication of
https://lists.mcs.anl.gov/pipermail/petsc-users/2022-August/046746.html
for in-depth question.

I wrote a short code as attached to test interpolation between two DMPlex
objects. Goal is to map solution field defined on cell-centroid(DMPlex-1)
into vertex(DMPlex-2) field or vice versa.

Basically, DMCreateInterpolation() fails in the example code and it was not
allowed to get useful error messages. The DMPlex is created by loading a 2D
square box in Gmsh. Can I get some comments on that?

Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220825/c28561a9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DMInterpolation.tar
Type: application/x-tar
Size: 92160 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220825/c28561a9/attachment-0001.tar>


More information about the petsc-users mailing list