[petsc-users] Vec Set DM and Mat Set DM

Jed Brown jed at jedbrown.org
Sun Jun 22 00:28:28 CDT 2014


"Sun, Hui" <hus003 at ucsd.edu> writes:

> I was reading examples about MatSetValuesStencil and
> MatSetValuesBlockStencil, I cannot see any difference. Why would
> recommend MatSetValuesBlockedStencil please?

The indices operate on blocks, so there is less bookkeeping.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140622/2c4869e9/attachment.pgp>


More information about the petsc-users mailing list