[petsc-users] jacobi before ilu with shifting

SUN Chun Chun.SUN at 3ds.com
Tue Jul 27 14:34:32 CDT 2010


Hi Petsc dev,

 

I couldn't figure out this preconditioner setting... I want to do BJACOBI + ILU on each block with shifting, but before ILU I want to apply a diagonal scaling to my LHS. What I've been trying to do is:

 

-pc_type bjacobi

-sub_pc_type composite

-sub_pc_composite_type multiplicative

-sub_pc_composite_pcs jacobi,ilu

 

then I don't know where to add -pc_factor_shift_positive_definite I've tried adding "sub_", "sub_pc_composite_" prefixes to that but non worked.

 

I wonder if the whole idea of using composite is wrong. Where should I scale it? Where should I specify shifting?

 

Thanks,

Chun



This email and any attachments are intended solely for the use of the individual or entity to whom it is addressed and may be confidential and/or privileged.  If you are not one of the named recipients or have received this email in error, (i) you should not read, disclose, or copy it, (ii) please notify sender of your receipt by reply email and delete this email and all attachments, (iii) Dassault Systemes does not accept or assume any liability or responsibility for any use of or reliance on this email.For other languages, go to http://www.3ds.com/terms/email-disclaimer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100727/b6f433f9/attachment.htm>


More information about the petsc-users mailing list