[petsc-users] snessetjacobian question
Jed Brown
jedbrown at mcs.anl.gov
Sat Sep 24 14:04:35 CDT 2011
On Thu, Sep 22, 2011 at 15:10, Milan Mitrovic <milanm at student.ethz.ch>wrote:
> ok... one more error... concerning this line
> call
> MatSetValuesLocal(Jac,1,(/i-1/),Particles%nvlist(i)+1,ind(:),val(:),INSERT_VALUES,info)
>
What is the passing convention for (/i-1/)? Does this work correctly if you
just create explicit arrays for these pieces?
Did you try valgrind?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110924/b9ba5a68/attachment.htm>
More information about the petsc-users
mailing list