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

Jed Brown jed at 59A2.org
Tue Sep 21 09:24:06 CDT 2010


On Tue, Sep 21, 2010 at 16:20, Daniel Langr <daniel.langr at gmail.com> wrote:
> 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.

This would be easy to add, but how would you go about building the
arrays yourself?  What sort of problems are you solving?

Jed


More information about the petsc-users mailing list