[petsc-dev] petsc/petsc added -pc_use_amat option to PCSetFromOptions() (commit b9ee023)

Shri abhyshr at mcs.anl.gov
Sun Mar 24 00:29:47 CDT 2013


On Mar 23, 2013, at 12:55 PM, Jed Brown wrote:

> 
> On Sat, Mar 23, 2013 at 11:40 AM, Shri <abhyshr at mcs.anl.gov> wrote:
>  I had added -pc_reuse specifically for use with fieldsplit since I wanted only a part of the preconditioner to be built only once, for e.g. -fieldsplit_0_pc_reuse. This would build the preconditioner for fieldsplit 0 only once. I had not added any API for it since it was meant to be experimental feature. If this feature is useful then I can add an API for it otherwise I can take it out.
> 
> If you want to give PCFieldSplit a "reuse" policy, then put the option in fieldsplit.c and have it pass SAME_PRECONDITIONER to the inner KSPSetFromOptions. I would also rather call this "lagging" (for consistency with SNES) instead of "reuse".
> 
> Since "-pc_reuse" is only recognized by PCLU and is implemented in the wrong place for generic use, I would like to delete it. (It's just a couple lines.) Is that okay with you?

I am not using it anymore so you can delete it.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130324/fb6f1d7d/attachment.html>


More information about the petsc-dev mailing list