<div class="gmail_quote">On Tue, Jan 17, 2012 at 01:44, Klaij, Christiaan <span dir="ltr"><<a href="mailto:C.Klaij@marin.nl">C.Klaij@marin.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":1iy"> DMCompositeCreate(PETSC_COMM_WORLD,&pack);<br>
DMCompositeAddDM(pack,da0);<br>
DMCompositeAddDM(pack,da1);<br></div></blockquote><div><br></div><div>Add this one line:</div><div><br></div><div>DMSetUp(pack);</div><div><br></div><div><br></div><div>I'll update petsc-dev to call DMSetUp() automatically when it is needed.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":1iy">
DMGetMatrix(pack,MATNEST,&A);<br>
MatView(A,PETSC_VIEWER_DEFAULT);</div></blockquote></div><br>