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

Gautam Bisht gbisht at lbl.gov
Tue Sep 30 17:29:10 CDT 2014


Hi,

The comment on line 419 of SNES ex 28.c
<http://www.mcs.anl.gov/petsc/petsc-current/src/snes/examples/tutorials/ex28.c.html>
says
that the approach used in this example is not the best way to allocate
off-diagonal blocks. Is there an example that shows a better way off
allocating memory for off-diagonal matrix blocks when using DMComposite?

Thanks,
-Gautam.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140930/a8210f8d/attachment.html>


More information about the petsc-users mailing list