Bishesh Khanal <[email protected]> writes:
> Ok, I now see that KSPGetSolution(ksp, &x) gives a GLOBAL vector in x and
> not a local vector; hence the runtime memory error above since I can't
> access ghost values in indices such as [i-1] wth the global vec.
> Was there any reason not to make this information explicit in the docs to
> prevent the confusion I had ? Or should it have been obvious to me and that
> I'm missing something here ?

Adding to Dave's comment, KSP has no concept of a "local vector".  That
is a DM concept.

Attachment: signature.asc
Description: PGP signature

Reply via email to