[petsc-users] How to access the value uarray[j+2][i]
Jed Brown
jedbrown at mcs.anl.gov
Wed Dec 21 06:39:27 CST 2011
On Wed, Dec 21, 2011 at 01:04, Fatcharm <wolfshow at gmail.com> wrote:
> I am wondering, why the above sentence "uxxx=..." can access
> "uarray[j][i+2] " succesfully, while the program reports error when
> accessing "uarray[j+2][i]" ?
>
Did you set the stencil width to 2 or larger?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20111221/a28ed4a9/attachment.htm>
More information about the petsc-users
mailing list