#include "petscksp.h" int KSPCGSetType(KSP ksp,KSPCGType type)Collective on KSP
ksp | - the iterative context | |
type | - the variant of CG to use, one of |
KSP_CG_HERMITIAN - complex, Hermitian matrix (default) KSP_CG_SYMMETRIC - complex, symmetric matrix
-ksp_cg_Hermitian | - Indicates Hermitian matrix | |
-ksp_cg_symmetric | - Indicates symmetric matrix |
Level:intermediate
Location:src/sles/ksp/impls/cg/cgtype.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages