[petsc-users] Matrix assebly

siddhesh godbole siddhesh4godbole at gmail.com
Mon Apr 20 03:05:18 CDT 2015


Hello,

I have created a matrix with initial values and i want to change the
elements of the same matrix and in the iterations column wise. how do i
insert new columns into the matrix when calls for assembly begin and end
have already been made?

I have used MatGetColumnVector to select which column to edit but how do i
store it back into the same matrix? because it seems it does not happen
otherwise.

*Siddhesh M Godbole*

5th year Dual Degree,
Civil Eng & Applied Mech.
IIT Madras
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150420/fadf0ef2/attachment-0001.html>


More information about the petsc-users mailing list