[petsc-users] updating values in a DA Global array
Jed Brown
jed at 59A2.org
Tue Jun 22 18:32:20 CDT 2010
On Tue, 22 Jun 2010 23:21:11 +0000, Matthew Knepley <knepley at gmail.com> wrote:
> That should work.
I thought *GetArrayF90 requires you have to call a "local function" for
multidimensional arrays, as in snes ex5f90.F. If you declare the
pointer as multi-dimensional, you get errors about shape-matching rules,
if you try to use a usual pointer (1D) you get errors about incorrect
subscripting. Is there a workaround, or do you always need to call the
local version to get it to type-check?
Jed
More information about the petsc-users
mailing list