[petsc-users] MatConvert

Harshad Sahasrabudhe hsahasra at purdue.edu
Tue Nov 5 09:52:23 CST 2013


Hi,

Can we use the original Mat in Matconvert to store the converted matrix?

E.g. MatConvert(A, MATDENSE, MAT_INITIAL_MATRIX, &A);
Or do I need MAT_REUSE_MATRIX flag instead of MAT_INITIAL_MATRIX?

A is initially MATAIJ.

Thanks,
Harshad


More information about the petsc-users mailing list