[petsc-users] INSERTVALUES after ADDVALUES
NAN ZHAO
zhaonanavril at gmail.com
Fri Oct 21 10:23:18 CDT 2011
Dear all,
I am assembling a matrix using ADD_VALUES option, I need to insert certain
values to the matrix cause I need to apply some boundary conditions. But I
got the error
[0]PETSC ERROR: Object is in wrong state!
[0]PETSC ERROR: You have already added values; you cannot now insert!
Is anyone have a solution of this?
Thanks,
Nan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20111021/52665a46/attachment.htm>
More information about the petsc-users
mailing list