[petsc-users] How to combine different element types into a single DMPlex?
Matthew Knepley
knepley at gmail.com
Wed Jul 14 14:14:14 CDT 2021
On Wed, Jul 14, 2021 at 1:25 PM Eric Chamberland <
Eric.Chamberland at giref.ulaval.ca> wrote:
> Hi,
>
> while playing with DMPlexBuildFromCellListParallel, I noticed we have to
> specify "numCorners" which is a fixed value, then gives a fixed number
> of nodes for a series of elements.
>
> How can I then add, for example, triangles and quadrangles into a DMPlex?
>
You can't with that function. It would be much mich more complicated if you
could, and I am not sure
it is worth it for that function. The reason is that you would need index
information to offset into the
connectivity list, and that would need to be replicated to some extent so
that all processes know what
the others are doing. Possible, but complicated.
Maybe I can help suggest something for what you are trying to do?
Thanks,
Matt
> Thanks,
>
> Eric
>
> --
> Eric Chamberland, ing., M. Ing
> Professionnel de recherche
> GIREF/Université Laval
> (418) 656-2131 poste 41 22 42
>
>
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20210714/b2a9c4a2/attachment.html>
More information about the petsc-users
mailing list