process id in DA

Shao-Ching Huang schuang at ats.ucla.edu
Wed Nov 12 19:01:56 CST 2008


On the first and last processes along each partitioned direction, I
have some extra operations to do. Currently I test the global indices
(using DAGetCorners) to achieve a similar effect, but was wondering if
there is already some one-shot function call available.

Thanks,

Shao-Ching


On Wed, Nov 12, 2008 at 06:28:39PM -0600, Matthew Knepley wrote:
> On Wed, Nov 12, 2008 at 6:24 PM, Shao-Ching Huang <schuang at ats.ucla.edu> wrote:
> > Hi,
> >
> > Is there a PETSc call to obtain the "process coordinates" in a process
> > grid, partitioned by a DA? (Something like what MPI_Cart_coords does.)
> 
> No, I don't think it has what you want. Why do you want it?
> 
>   Thanks,
> 
>     Matt
> 
> > Thanks,
> >
> > Shao-Ching




More information about the petsc-users mailing list