[petsc-users] Questions about MatConvert BAIJ to AIJ
Jed Brown
jed at jedbrown.org
Wed Mar 18 12:17:03 CDT 2015
Chung-Kan Huang <ckhuangf at gmail.com> writes:
> 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
How are you defining equality?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150318/d041ed3c/attachment.pgp>
More information about the petsc-users
mailing list