<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 4, 2013 at 7:10 PM, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Fri, Apr 5, 2013 at 9:53 AM, <span class="il">Derek</span> Gaston <span dir="ltr"><<a href="mailto:friedmud@gmail.com" target="_blank">friedmud@gmail.com</a>></span> wrote:<br>
</div><div class="gmail_extra"><div class="gmail_quote"><div class="im">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">On Tue, Apr 2, 2013 at 12:09 PM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>></span> wrote:<br>

<div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">    You can use PetscGetArgs() followed by by PetscOptionsInsert(). Let us know if you have any troubles with this.<br>


</blockquote><div><br></div><div>Hmmm... any chance of getting a version of that function that takes an MPI_Comm?  It is using PETSC_COMM_WORLD implicitly inside it.... and I need to call it asynchronously on sub-communicators.</div>

</div></div></div></blockquote><div><br></div></div><div>I don't think we would put that in the interface since it would allow inconsistencies among options. You can</div><div>call PetscOptionsInsertString() yourself to manage that.</div>
</div></div></blockquote></div><br>Derek, what problem are you trying to solve by resetting the options like this?</div></div>