[petsc-users] matrix preallocation

Kong, Fande fande.kong at inl.gov
Fri Oct 21 16:51:48 CDT 2016


Hi,

For mechanics problems, the contact surface changes  during each nonlinear
iteration. Therefore, the sparsity of matrix also changes during each
nonlinear iteration. We know the preallocaiton is important for performance.

My question is:  it is possible to re-allocate memory during each nonlinear
iteration?

Fande
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20161021/e8c18c21/attachment-0001.html>


More information about the petsc-users mailing list