:orphan: # KSPQCGGetTrialStepNorm Gets the norm of a trial step vector in `KSPQCG`. The WCG step may be constrained, so this is not necessarily the length of the ultimate step taken in `KSPQCG`. ## Synopsis ``` #include "petscksp.h" PetscErrorCode KSPQCGGetTrialStepNorm(KSP ksp, PetscReal *tsnorm) ``` Not Collective ## Input Parameter - ***ksp -*** the iterative context ## Output Parameter - ***tsnorm -*** the norm ## Level advanced ## Location src/ksp/ksp/impls/qcg/qcg.c ## Implementations KSPQCGGetTrialStepNorm_QCG in src/ksp/ksp/impls/qcg/qcg.c
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/ksp/impls/qcg/qcg.c) [Index of all KSP routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)