[petsc-users] PCGASMSetLocalSubdomains
Dmitry Karpeev
karpeev at mcs.anl.gov
Sat Feb 11 08:36:27 CST 2012
Yes, that's right.
There is no good way to help the user assemble the subdomains at the moment
beyond the 2D stuff.
It is expected that they are generated from mesh subdomains.
Each IS does carry the subdomains subcomm.
There is ISColoringToList() that is supposed to convert a "coloring" of
indices to an array of ISs,
each having the indices with the same color and the subcomm that supports
that color. It is
largely untested, though. You could try using it and give us feedback on
any problems you encounter.
Dmitry.
On Sat, Feb 11, 2012 at 6:06 AM, Hui Zhang <mike.hui.zhang at hotmail.com>wrote:
> About PCGASMSetLocalSubdomains(), in the case of one subdomain supported by
> multiple processors, shall I always create the arguments 'is[s]' and
> 'is_local[s]'
> in a subcommunicator consisting of processors supporting the subdomain 's'?
>
> The source code of PCGASMCreateSubdomains2D() seemingly does so.
>
> Thanks,
> Hui
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120211/bc4e6311/attachment.htm>
More information about the petsc-users
mailing list