:orphan:
# PCRedundantSetScatter
Sets the scatter used to copy values into the redundant local solve and the scatter to move them back into the global vector.
## Synopsis
```
#include "petscksp.h"
PetscErrorCode PCRedundantSetScatter(PC pc, VecScatter in, VecScatter out)
```
Logically Collective
## Input Parameters
- ***pc -*** the preconditioner context
- ***in -*** the scatter to move the values in
- ***out -*** the scatter to move them out
## See Also
`PCREDUNDANT`
## Level
advanced
## Location
src/ksp/pc/impls/redundant/redundant.c
## Implementations
PCRedundantSetScatter_Redundant in src/ksp/pc/impls/redundant/redundant.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/pc/impls/redundant/redundant.c)
[Index of all PC routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)