<div dir="ltr">Hi,<div><br></div><div>The comment on line 419 of SNES <a href="http://www.mcs.anl.gov/petsc/petsc-current/src/snes/examples/tutorials/ex28.c.html">ex 28.c</a> 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?</div><div><br></div><div>Thanks,</div><div>-Gautam.</div></div>