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

TAY wee-beng zonexo at gmail.com
Fri Jun 15 19:58:17 CDT 2012


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



More information about the petsc-users mailing list