# 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
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/pc/impls/redundant/redundant.c.html#PCRedundantSetScatter">src/ksp/pc/impls/redundant/redundant.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/pc/impls/redundant/redundant.c.html#PCRedundantSetScatter_Redundant">PCRedundantSetScatter_Redundant in src/ksp/pc/impls/redundant/redundant.c</A><BR>


---
[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](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
