: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
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/impls/qcg/qcg.c.html#KSPQCGGetTrialStepNorm">src/ksp/ksp/impls/qcg/qcg.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/impls/qcg/qcg.c.html#KSPQCGGetTrialStepNorm_QCG">KSPQCGGetTrialStepNorm_QCG in src/ksp/ksp/impls/qcg/qcg.c</A><BR>


---
[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)  
