PCRedundantSetScatter — PETSc 3.21.4 documentation

Skip to main content
`Ctrl`+`K`

# 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

KSP: Linear System Solvers, `PCREDUNDANT`

## Level

advanced

## Location

src/ksp/pc/impls/redundant/redundant.c

## Implementations

PCRedundantSetScatter_Redundant() in src/ksp/pc/impls/redundant/redundant.c

Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages