<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Sep 13, 2021, at 3:34 PM, Anthony Paul Haas <<a href="mailto:aph@email.arizona.edu" class="">aph@email.arizona.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hello,<div class=""><br class=""></div><div class=""><font face="arial, sans-serif" class="">Is it allowed after a MatZeroRows to insert more values in the row that was just zeroed with MatSetValues and then perform another full assembly of the matrix?</font></div></div></div></blockquote><div><br class=""></div> Yes, if you are replacing previously zeroed values it will simply fill them in efficiently. If you are introducing new nonzero locations it will be inefficient in general because it has to allocate new space for the new locations.</div><div><br class=""></div><div> Barry</div><div><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><font face="arial, sans-serif" class=""><br class=""></font></div><div class=""><font face="arial, sans-serif" class="">Thanks,</font></div><div class=""><font face="arial, sans-serif" class=""><br class=""></font></div><div class=""><font face="arial, sans-serif" class="">Anthony</font></div></div>
</div></blockquote></div><br class=""></body></html>