<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
On 15/6/2012 9:04 PM, Jed Brown wrote:
<blockquote
cite="mid:CAM9tzSn_koi9NQ-hp36sywkQgs4+QvrLDrM=th_Zp281oHmwZw@mail.gmail.com"
type="cite">If you need corner points, use DMDA_STENCIL_BOX.<br>
</blockquote>
<br>
Sorry, I don't mean corner points, but points to the east of the
east cell, or the west of the west cell ie. instead of only 1 ghost
cell to the east of the boundary, I need 1 more which is east of the
east cell.<br>
<blockquote
cite="mid:CAM9tzSn_koi9NQ-hp36sywkQgs4+QvrLDrM=th_Zp281oHmwZw@mail.gmail.com"
type="cite"><br>
<div class="gmail_quote">On Fri, Jun 15, 2012 at 7:58 PM, TAY
wee-beng <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:zonexo@gmail.com" target="_blank">zonexo@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
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.<br>
<br>
However, in some parts of my code, I need to update ghost
points at east east, west west etc.<br>
<br>
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?<br>
<br>
Also, how is the memory allocated? I think the east east
values will be outside the local vector, is that so?<br>
<br>
Thank you.<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Yours sincerely,<br>
<br>
TAY wee-beng<br>
<br>
</font></span></blockquote>
</div>
<br>
</blockquote>
</body>
</html>