[petsc-dev] petsc/petsc added -pc_use_amat option to PCSetFromOptions() (commit b9ee023)
Jed Brown
jedbrown at mcs.anl.gov
Sat Mar 23 11:25:35 CDT 2013
On Fri, Mar 22, 2013 at 10:14 AM, Mark F. Adams <mark.adams at columbia.edu>wrote:
> I thought the primary mission of options_left was to catch spelling
> mistakes.
>
> (This is also useful if a PC logically ought to pay attention to this
> option, but isn't.) What about making PCSetUseAmat() use PetscTryMethod()
> and move the check of "-pc_use_amat" into each implementation?
>
>
> I agree with Barry that it should be high level and make it there for any
> PC to use if they want.
>
> Do we really want to leave the confusing option in place for all the PCs
> that don't have inner solvers?
>
>
> It just doesn't seem that bad to me.
>
Okay, okay, I'll stick with the simple thing.
What about "-pc_reuse"? It is only referenced
in src/ksp/pc/impls/factor/lu/lu.c and it doesn't have an API. Can it be
removed entirely? I thought we were using SAME_PRECONDITIONER for this sort
of thing.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130323/d2a45351/attachment.html>
More information about the petsc-dev
mailing list