[petsc-users] Obtaining more ghost points at EE, SS etc using DM

Jed Brown jedbrown at mcs.anl.gov
Fri Jun 15 20:04:58 CDT 2012


If you need corner points, use DMDA_STENCIL_BOX.

On Fri, Jun 15, 2012 at 7:58 PM, TAY wee-beng <zonexo at gmail.com> wrote:

> Hi,
>
> I'm trying to implement DM in my code. So far, I found that it is very
> convenient to use its features. I am currently using DMDA STENCIL STAR.
>
> However, in some parts of my code, I need to update ghost points at east
> east, west west etc.
>
> DMGlobalToLocalBegin/end can only update east, west etc. What's the
> easiest way to update these additional points? Do I have to use MPI_Send?
>
> Also, how is the memory allocated? I think the east east values will be
> outside the local vector, is that so?
>
> Thank you.
>
> --
> Yours sincerely,
>
> TAY wee-beng
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120615/09ccb2fe/attachment.html>


More information about the petsc-users mailing list