[petsc-users] Redo PetscOptions From Commandline

Jed Brown jedbrown at mcs.anl.gov
Thu Apr 4 19:42:09 CDT 2013


On Thu, Apr 4, 2013 at 7:10 PM, Matthew Knepley <knepley at gmail.com> wrote:

> On Fri, Apr 5, 2013 at 9:53 AM, Derek Gaston <friedmud at gmail.com> wrote:
>
>> On Tue, Apr 2, 2013 at 12:09 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
>>
>>>     You can use PetscGetArgs() followed by by PetscOptionsInsert(). Let
>>> us know if you have any troubles with this.
>>>
>>
>> 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.
>>
>
> I don't think we would put that in the interface since it would allow
> inconsistencies among options. You can
> call PetscOptionsInsertString() yourself to manage that.
>

Derek, what problem are you trying to solve by resetting the options like
this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130404/28e43200/attachment.html>


More information about the petsc-users mailing list