[petsc-users] Storage space for symmetric (SBAIJ) matrix

Daniel Langr daniel.langr at gmail.com
Tue Sep 21 09:20:54 CDT 2010


Jed,

thanks much for your comprehensive answer, it will certainly help. I 
will look at the example codes. As for matrix assembly process, I would 
prefer constructing a matrix from arrays (to avoid dynamic assembly and 
additional memory costs) but there is nothing like 
MatCreateMPISBAIJWithArrays() or better 
MatCreateMPISBAIJWithSplitArrays() for symmetric matrices as for 
unsymmetric ones in PETSc.

Regards,
Daniel



More information about the petsc-users mailing list