<div dir="ltr"><div dir="ltr">On Tue, Nov 8, 2022 at 12:05 PM 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">Hello Guys,<div><br></div><div>Thanks to your suggestions on the block matrices, my fully coupled solver is proceeding very well! </div><div><br></div><div>I am now about to take advantage of the block structure of the matrix using PCFIELDSPLIT. I have learned a bit from the user manual and followed with interest this discussion in the mailing list: <a href="https://lists.mcs.anl.gov/pipermail/petsc-users/2015-February/024154.html" target="_blank">https://lists.mcs.anl.gov/pipermail/petsc-users/2015-February/024154.html</a></div><div>which is actually the exact same situation I am in, so I guess most of the command line options will be copy and paste.</div><div><br></div><div>I would like however to code them in fortran, as I usually provide some default implementation alongside the command line options. </div><div><br></div><div>While coding some of the options I got an error here in PCFieldSplitSetFields() which looks to be undefined. I am importing petscksp, do I need to import something else maybe? </div></div></blockquote><div><br></div><div>Since it uses arrays, we will have to write the Fortran wrapper by hand. I will see if I can do it soon.</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>Thank you! </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>