# KSP_GMRES_CGS_REFINE_NEVER
Do two steps of the classical (unmodified) Gram-Schmidt process. 


## Notes
This is roughly twice the cost of `KSP_GMRES_CGS_REFINE_NEVER` because it performs the process twice
but it saves the extra norm calculation needed by `KSP_GMRES_CGS_REFINE_IFNEEDED`.

You should only use this if you absolutely know that the iterative refinement is needed.


## See Also
 `KSPGMRESClassicalGramSchmidtOrthogonalization()`, `KSPGMRESSetOrthogonalization()`, `KSPGMRESGetOrthogonalization()`,
`KSPGMRESSetCGSRefinementType()`, `KSPGMRESGetCGSRefinementType()`, `KSP_GMRES_CGS_REFINE_IFNEEDED`, `KSP_GMRES_CGS_REFINE_ALWAYS`,
`KSPGMRESModifiedGramSchmidtOrthogonalization()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/include/petscksp.h.html#KSP_GMRES_CGS_REFINE_NEVER">include/petscksp.h</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscksp.h)


[Index of all KSP routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
