<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div><br></div> Yes, but it would be interesting to see a comparison of timing between your current code and code with just a call to MatSetUp() and no calls to the preallocation routines.<div><br></div><div> Barry</div><div><br><div><br><blockquote type="cite"><div>On Apr 2, 2023, at 6:27 PM, Sanjay Govindjee <s_g@berkeley.edu> wrote:</div><br class="Apple-interchange-newline"><div>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div>
I was looking at the release notes for 3.19.0 and noted the comment:
<blockquote><p>Deprecate all MatPreallocate* routines. These are no longer
needed since non-preallocated matrices will now be as fast as
using them</p>
</blockquote><p>My interpretation of this is that I can now comment out all the
MatPreallocate* lines in my code and it will run just fine (and be
as fast as before) and no other change are necessary -- with the
side benefit of no longer having to maintain my preallocation
code.</p><p>Have I read this correctly?<br>
</p><p>-sanjay</p>
</div>
</div></blockquote></div><br></div></body></html>