<br><br><div class="gmail_quote">On Thu, Aug 9, 2012 at 10:59 PM, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
<div class="im">On Thu, Aug 9, 2012 at 9:56 PM, Yifei Li <span dir="ltr"><<a href="mailto:yifli82@gmail.com" target="_blank">yifli82@gmail.com</a>></span> wrote:<br></div><div class="gmail_quote"><div class="im"><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
Matt,<div><br></div><div>I'm new to PETSC, can you pls explain what you mean by 'keep it in unassembled form'?</div></blockquote><div><br></div></div><div>Just keep two vectors, u^T v, instead of the dense matrix.</div>
<div> </div></div></blockquote><div>But I need the result of the outer product (e.g, A) for further calculation (e.g., A*W). </div><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
<div class="gmail_quote"><div> </div>
<div><br></div><div> Matt</div><div class="im"><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
<div>A small example would be nice too. Thanks</div><div><br></div><div>Yifei<br>
<br><div class="gmail_quote">On Thu, Aug 9, 2012 at 9:15 PM, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
<div>On Thu, Aug 9, 2012 at 5:39 PM, Yifei Li <span dir="ltr"><<a href="mailto:yifli82@gmail.com" target="_blank">yifli82@gmail.com</a>></span> wrote:<br></div><div class="gmail_quote"><div><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
<div>Hi,</div>
<div> </div>
<div>I did not find any function doing this in the manual. Could someone suggest a good way to do this?</div></blockquote><div><br></div></div><div>That gives a dense matrix. You would never want to do this. You would keep it in unassembled form.</div>
<div><br></div><div> Matt</div><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><div> </div>
<div>Thanks</div><span><font color="#888888">
<div> </div>
<div>Yifei</div><span><font color="#888888">
</font></span></font></span></blockquote></div><span><font color="#888888"><br><br clear="all"><span><font color="#888888"><div><br></div>-- <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>
</font></span></font></span></blockquote></div><br></div>
</blockquote></div></div><div class="HOEnZb"><div class="h5"><br><br clear="all"><div><br></div>-- <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>
</div></div></blockquote></div><br>