[petsc-users] Is it possible to enforce some mesh entities owned by the same CPU?
袁煕
yuanxi at advancesoft.jp
Fri Feb 4 01:58:58 CST 2022
Well, it seems like there is a long way to go.
Thanks for your answer..
Yuan
2022年2月3日(木) 9:50 Matthew Knepley <knepley at gmail.com>:
> On Wed, Feb 2, 2022 at 7:32 PM 袁煕 <yuanxi at advancesoft.jp> wrote:
>
>> Hello everyone
>>
>> I need to enforce some specific nodes, for example, two nodes i,j in my
>> finite element mesh, to be owned by the same CPU when doing DMPlex
>> partition. Are there any means to implement it?
>>
>
> It might be possible using edge weights in the partitioner. However, we
> have no automatic support for that. To do it manually, you would probably
> have to
> make the CSR matrix for the mesh, wrap that in a Mat, add values for
> weights, call MatPartition, and then feed that partition to Plex. It is
> doable, but it would
> be some amount of work.
>
> Thanks,
>
> Matt
>
>
>> Thanks in advance.
>>
>> Yuan
>>
> --
> 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/20220204/4f2c7ccb/attachment-0001.html>
More information about the petsc-users
mailing list