[petsc-dev] TSMonitorSPEigCtxCreate calls KSPSetFromOptions

Barry Smith bsmith at mcs.anl.gov
Sat Nov 10 15:38:45 CST 2012


On Nov 10, 2012, at 12:39 PM, Matthew Knepley <knepley at gmail.com> wrote:

> On Sat, Nov 10, 2012 at 12:33 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
>> which eventually calls PetscOptionsEnd, masking all subsequent options from
>> the TS output. Choices:
>> 
>> 1. circumvent the limitation, moving the call outside the TS options
>> 
>> 2. make PetscOptionsBegin() behave like PetscOptionsHead() when called
>> inside a currently active options section
> 
> I prefer having them nest properly.

  Allowing proper nesting would eliminate this kind of problem once and and for all.  So maybe PetscOptionsBegin() could be totally bagged.


   Barry

> 
>   Matt
> 
>> others?
> 
> 
> 
> --
> What most experimenters take for granted before they begin their
> experiments is infinitely more interesting than any results to which
> their experiments lead.
> -- Norbert Wiener




More information about the petsc-dev mailing list