Dear all,

I have assembled a 2d matrix through the FormJacobianLocal() routine.

I would like to store this sparse MXN matrix A in the following form:
....................................................

line1:  M       N       numberofnonzeros
line2:  i       j       value
line3:  i       j       value
...
...
...
....................................................


The first line gives the size of the matrix and the number of nonzeros and 
starting from the second line, the index of the nonzero and its value is shown, 
too.

Thanks very much!

Best,

Rebecca



Reply via email to