[petsc-dev] How to respond to incompatible right/left preconditioned/unpreconditioned?

Jed Brown jed at 59A2.org
Wed Mar 16 17:14:54 CDT 2011


On Wed, Mar 16, 2011 at 22:53, Barry Smith <bsmith at mcs.anl.gov> wrote:

> This is an oversight, it should generate an error.
>

 It does now.


> > So what if instead we had KSP_NORM_DEFAULT and PC_SIDE_DEFAULT, then
> KSPSetUp_XXX() would turn the default value into whatever actually works and
> error if the user has set an incompatible combination?
>
>   Sounds reasonable.
>

I haven't done this yet so right now users have to change the norm type
explicitly when they switch sides.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110316/333f7d0e/attachment.html>


More information about the petsc-dev mailing list