# KSPPIPEGCRGetUnrollW
Get information on `KSPPIPEGCR` if it uses unrolling the w vector 
## Synopsis
```
#include "petscksp.h"  
PetscErrorCode KSPPIPEGCRGetUnrollW(KSP ksp, PetscBool *unroll_w)
```
Logically Collective


## Input Parameter

- ***ksp -*** the Krylov space context



## Output Parameter

- ***unroll_w -*** `KSPPIPEGCR` uses unrolling (bool)





## See Also
 [](chapter_ksp), `KSPPIPEGCR`, `KSPPIPEGCRGetTruncationType()`, `KSPPIPEGCRGetNprealloc()`, `KSPPIPEGCRSetUnrollW()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/impls/gcr/pipegcr/pipegcr.c.html#KSPPIPEGCRGetUnrollW">src/ksp/ksp/impls/gcr/pipegcr/pipegcr.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/ksp/impls/gcr/pipegcr/pipegcr.c)


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