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>
