On Fri, May 7, 2010 at 3:57 PM,  <span dir="ltr">&lt;<a href="mailto:irfan.khan@gatech.edu">irfan.khan@gatech.edu</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div style="font-family:Times New Roman;font-size:12pt;color:#000000"><div style="font-family:Times New Roman;font-size:12pt;color:rgb(0, 0, 0)">Petsc Team,<br><br>Is there a function that can be used to add two rows and put the results into a third row of the same parallel matrix (MPIAIJ)? i.e<br>
<br>A[k][l] = A[i][l] + A[j][l]<br></div></div></div></blockquote><div><br></div><div>No, since it would entail messing with the nonzero structure. You could easily</div><div>use a second matrix to get this effect from subsequent MatMult() calls.</div>
<div><br></div><div>   Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-family:Times New Roman;font-size:12pt;color:#000000">
<div style="font-family:Times New Roman;font-size:12pt;color:rgb(0, 0, 0)">Thank you<br>Irfan<br><font color="#888888"><br>-- <br>PhD Candidate<br>G.W. Woodruff School of Mechanical Engineering<br>Georgia Institute of Technology<br>
Atlanta, GA (30332)<br></font></div></div></div></blockquote></div><br><br clear="all"><br>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener<br>