[petsc-users] partition of DM Vec entries

Sang pham van pvsang002 at gmail.com
Fri Oct 14 21:23:36 CDT 2016


Hi Barry,

In 2 processes case, the problem is simple, as I know all ghost cells of
partition 0 are updated from partition 1. However, in the case of many
processes, how do I know from which partitions ghost cells of partition 0
are updated? In other words, How can I know neighboring partitions of the
partition 0? and can I get a list of ghost cells managing by a neighboring
partition?
Please let me know if my question is still not clear.

Many thanks.


On Sat, Oct 15, 2016 at 8:59 AM, Barry Smith <bsmith at mcs.anl.gov> wrote:

>
> > On Oct 14, 2016, at 8:50 PM, Sang pham van <pvsang002 at gmail.com> wrote:
> >
> > Hi,
> >
> > I am using DM Vec for a FV code, for some reasons, I want to know
> partition of all ghost cells of a specific partition. is there a way do
> that?
>
>   Could you please explain in more detail what you want, I don't
> understand? Perhaps give a specific example with 2 processes?
>
>  Barry
>
>
>
> >
> > Many thanks.
> >
> > Best,
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20161015/090cefd3/attachment.html>


More information about the petsc-users mailing list