KSPCGGetTRNormType#
Gets the norm used for the trust-region constraint
Synopsis#
#include "petscksp.h"
PetscErrorCode KSPCGGetTRNormType(KSP ksp, KSPCGTRNormType *normtype)
Not Collective
Input Parameter#
ksp - the iterative context
Output Parameter#
normtype - the trust-region norm type
See Also#
KSP: Linear System Solvers, KSP, KSPCGTRNormType, KSPCGSetTRNormType(), KSPCGSetRadius()
Level#
advanced
Location#
Examples#
Implementations#
KSPCGGetTRNormType_CG() in src/ksp/ksp/impls/cg/cg.c
KSPCGGetTRNormType_GLTR() in src/ksp/ksp/impls/cg/gltr/gltr.c
KSPCGGetTRNormType_NASH() in src/ksp/ksp/impls/cg/nash/nash.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages