[petsc-dev] PetscObjectViewFromOptions() pull request 1005 1006

Kong, Fande fande.kong at inl.gov
Thu Jun 28 19:09:51 CDT 2018


On Thu, Jun 28, 2018 at 3:03 PM, Jed Brown <jed at jedbrown.org> wrote:

> "Kong, Fande" <fande.kong at inl.gov> writes:
>
> >     There is also a question about making -help useful.  We would like
> these
> >
> >> sort of diagnostic options to be provided in -help exactly once in on
> >> organized way.  The normal way to do that is to put it in the
> >> *SetFromOptions.
> >>
> >
> > Like this one. It is even better if we have an option to dump all petsc
> > options.
>
> What do you mean?  Like before execution?  That dump would not be
> finite.
>

Yes, before execution. For example, if I say "-help snes", and then all
snes related options should be printed out. Of course, we do not need to
add prefix to these options.

It may be impossible with the current PETSc design.

Fande,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20180628/2c4d00cf/attachment.html>


More information about the petsc-dev mailing list