#include "petscksp.h" PetscErrorCode KSPCGSetType(KSP ksp,KSPCGType type)Logically Collective on KSP Many br
ksp | - the iterative context Many br | |
type | - the variant of CG to use, one of Many br |
KSP_CG_HERMITIAN - complex, Hermitian matrix (default) KSP_CG_SYMMETRIC - complex, symmetric matrixMany br
Many br
-ksp_cg_Hermitian | - Indicates Hermitian matrix Many br | |
-ksp_cg_symmetric | - Indicates symmetric matrix Many br |
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