[petsc-dev] Changing Mat block size?

Jed Brown jed at jedbrown.org
Fri Feb 14 12:08:03 CST 2014


Barry Smith <bsmith at mcs.anl.gov> writes:

>   Change MatCreateShell() to take the block size 
>
>   Note that we should probably also change MatCreateSeqAIJ() and MatCreateAIJ() to take the block size now before a release.

What if the blocks are not square?  This just seems like an extraneous
concept for most users.  Would we really be shooting ourselves in the
foot if we just checked PetscAbs(map->bs) in any compatibility
comparisons?  Then old code should work and users wouldn't have to deal
with the concept unless it was relevant to them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20140214/fbe994cd/attachment.sig>


More information about the petsc-dev mailing list