[petsc-users] custom sparse matrix

Alejandro Marcos Aragón alejandro.aragon at gmail.com
Mon Mar 21 06:43:42 CDT 2011


Hi everyone,

I'm new to the list and to PETSc. I was wondering if this is possible: in my code I have my own sparse matrix data structure, so instead of creating a sparse matrix from PETSc and copying all the elements, I was wondering if there is a way to specify the storage of the elements. My custom data structure is a three-array compressed row format (or compressed column storage).

Thank you,

Alejandro M. Aragón, Ph.D.


More information about the petsc-users mailing list