In the DA we have some idea of topology, so we can make a sensible<br>
reordered local vector. The VecGhost is a lower level construct. All it<br>
does is maintain a vector of this form<br>
<br>
[ local values | ghost values ]<br>
<br>
The update maps from local values to ghost values with a scatter. The<br>
VecGhostGetLocalForm() just pulls out the pointer. We could add code<br>
which maps into a different local vector using an ordering, but this can<br>
already be done with an AO as well.<br>
<br>
Matt<br><br><div><span class="gmail_quote">On 6/20/06, <b class="gmail_sendername">Thomas Geenen</b> <<a href="mailto:geenen@gmail.com">geenen@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tuesday 20 June 2006 13:32, you wrote:<br>> > I now expect the vector to be in the local form. That means that the<br>> > positions<br>> > that I created as ghost points are filled with the solution corresponding
<br>> > to<br>> > the global solution. I expect that they are inserted in the position in<br>> > my local vector corresponding to there corresponding global position.<br>><br>> Not sure what you mean here. The local form is the same as the global
<br>> vector<br>> in the owned spots, and then has the ghost points at the end.<br>oke so that means (4,5,3) ??<br>So if I need the solution in the same positions as the ones that i filled with<br>VecSetValuesLocal I will have to reorder the vector
<br>What does VecGhostGetLocalForm do? inserts the global solution in the ghost<br>points at the end? I thought VecGhostUpdateBegin VecGhostUpdateEnd did that.<br><br>thomas<br>> Matt<br></blockquote></div><br><br clear="all">
<br>-- <br>"Failure has a thousand explanations. Success doesn't need one" -- Sir Alec Guiness