[petsc-users] Questions about MatConvert BAIJ to AIJ

Chung-Kan Huang ckhuangf at gmail.com
Wed Mar 18 12:12:22 CDT 2015


Hi,

I created matrix with MATBAIJ and I use
    MatConvert(J, MATAIJ, MAT_REUSE_MATRIX, & J);
to convert it to MATAIJ.

I ran some tests
MATBAIJ: create & use MATBAIJ for later assembly
MATBAIJ2MATAIJ: create as MATBAIJ then convert to MATAIJ & use MATAIJ for
later assembly
MATAIJ: create & use MATAIJ for later assembly

and I found following results


MATBAIJ == MATBAIJ2MATAIJ != MATAIJ
as I was expected to see
MATBAIJ != MATBAIJ2MATAIJ == MATAIJ

Is it a potential of bug or it is what I should actually expect?

Thanks,
Kan
-- 

*Cheers*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150318/19e89072/attachment.html>


More information about the petsc-users mailing list