<div dir="ltr"><div dir="ltr">On Wed, Nov 9, 2022 at 9:17 AM Edoardo alinovi <<a href="mailto:edoardo.alinovi@gmail.com">edoardo.alinovi@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thanks, <div><br></div><div>the stuff I am doing is within my code, so I am not sure you can reproduce it. </div></div></blockquote><div><br></div><div>How about just making a small code that fills those nonzeros with 1s. We just want to figure out why your</div><div>sparsity pattern is not working. We have lots of working PCFIELDSPLIT examples, but I don't think it would</div><div>be useful to show you those.</div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I am just doing this: </div><div><br></div><div> call PCSetType(mypc, PCFIELDSPLIT, ierr) <br><br> call PCFieldSplitSetBlockSize(mypc, 4-bdim, ierr)<br> <br> ufields(1) = 0<br> ufields(2) = 1<br> pfields(1) = 2<br> call PCFieldSplitSetFields(mypc, "u", 2, ufields, ufields, ierr)<br> call PCFieldSplitSetFields(mypc, "p", 1, pfields, pfields, ierr)<br></div><div><br></div><div>On an MPIBAIJ matrix with bs = 3. </div><div><br></div><div><br></div><div><br></div><div><br></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>