Thanks all,<div><br></div><div>How do you turn off the zero-filling?</div><div><br></div><div>Justin<br><br>On Monday, September 5, 2016, Matthew Knepley <<a href="mailto:knepley@gmail.com">knepley@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Sep 5, 2016 at 4:31 AM, Dave May <span dir="ltr"><<a href="javascript:_e(%7B%7D,'cvml','dave.mayhem23@gmail.com');" target="_blank">dave.mayhem23@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span>On 5 September 2016 at 10:43, Justin Chang <span dir="ltr"><<a href="javascript:_e(%7B%7D,'cvml','jychang48@gmail.com');" target="_blank">jychang48@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hi all,<br><br></div>So i used the following command-line options to view the non-zero structure of my assembled matrix:<br><br></div>-mat_view draw -draw_pause -1<br><br></div>And I got an image filled with cyan squares and dots. However, if I right-click on the image a couple times, I now get cyan, blue, and red squares. What do the different colors mean? </div></div></div></blockquote><div><br></div></span><div>Red represents positive numbers.<br></div><div>Blue represents negative numbers.<br></div><div><br>I believe cyan represents allocated non-zero entries which were never populated with entries (explicit zeroes). Someone will correct me if I am wrong here regarding cyan...<br></div></div></div></div></blockquote><div><br></div><div>When DMMatrix() is called, it first preallocates a matrix, then fills it with zeros and assembles. This is the cyan matrix. Then</div><div>you fillit with nonzeros. This is the second picture with red and blue. There is an option for turning off the zero filling.</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 dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div><div>Thanks,<br></div><div> Dave<br></div><span><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Attached are the images of the two cases:<br><br></div>Thanks,<br></div>Justin<br></div>
</blockquote></span></div><br></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div data-smartmail="gmail_signature">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</div>
</div></div>
</blockquote></div>