-ksp_cg_type Hermitian | - (for complex matrices only) indicates the matrix is Hermitian, see KSPCGSetType() Many br | |
-ksp_cg_type symmetric | - (for complex matrices only) indicates the matrix is symmetric Many br | |
-ksp_cg_single_reduction | - performs both inner products needed in the algorithm with a single MPIU_Allreduce() call, see KSPCGUseSingleReduction() Many br |
Many br
Notes: The PCG method requires both the matrix and preconditioner to be symmetric positive (or negative) (semi) definite Many brOnly left preconditioning is supported. Many br
For complex numbers there are two different CG methods. One for Hermitian symmetric matrices and one for non-Hermitian symmetric matrices. Use Many brKSPCGSetType() to indicate which type you are using. Many br
Developer Notes: KSPSolve_CG() should actually query the matrix to determine if it is Hermitian symmetric or not and NOT require the user to Many brindicate it to the KSP object. Many br
Level:beginner
Location:src/ksp/ksp/impls/cg/cg.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages