#include "petscksp.h" PetscErrorCode KSPCGSetType(KSP ksp,KSPCGType type)Logically 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/ksp/ksp/impls/cg/cgtype.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages