[petsc-users] error in calling VecGetArrayf90()

Jed Brown jed at 59A2.org
Wed Jan 5 13:28:58 CST 2011

1:(Iend-Istart) is "local" indexing in the global vector.  Since there us no
scatter, there is no local vector and thus no indexing that includes ghosts
(which would be consistent use of the term "local").  I think Ethan is
correct that the only way to get proper "natural" indexing is to have an
inner function.  Am I missing something?

On Jan 5, 2011 11:21 AM, "Barry Smith" <bsmith at mcs.anl.gov> wrote:

 I don't think this is correct. You are suppose to use the local indexing
for each process. With the strange index starting at 1 instead of 0.


On Jan 5, 2011, at 1:03 PM, Ethan Coon wrote:

> On all processors, the array you get is indexed:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110105/6151ad6f/attachment.htm>

More information about the petsc-users mailing list