[petsc-users] Allocating memory for off-diagonal matrix blocks when using DMComposite

Jed Brown jed at jedbrown.org
Tue Apr 26 16:58:57 CDT 2016

Dave May <dave.mayhem23 at gmail.com> writes:
> You are always free to over-ride the method
>   dm->ops->creatematrix
> with your own custom code to create
> and preallocate the matrix.


No need to include the private header.  I know this isn't great.
-------------- 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/20160426/d9e21037/attachment.pgp>

More information about the petsc-users mailing list