SCATTER_REVERSE — PETSc 3.23.0 documentation

Skip to main content
`Ctrl`+`K`

# SCATTER_REVERSE

Moves the values in the opposite direction then the directions indicated in the `VecScatterCreate()` during `VecScatterBegin()` and `VecScatterEnd()`

## See Also

Vectors and Parallel Data, `VecScatter`, `ScatterMode`, `VecScatterCreate()`, `VecScatterBegin()`, `VecScatterEnd()`, `SCATTER_FORWARD`, `SCATTER_FORWARD_LOCAL`, `SCATTER_REVERSE_LOCAL`

## Level

beginner

## Location

include/petscvec.h

## Examples

src/tao/pde_constrained/tutorials/elliptic.c
src/tao/pde_constrained/tutorials/parabolic.c
src/ksp/ksp/tutorials/ex73.c
src/dm/impls/swarm/tutorials/ex1.c
src/dm/tutorials/ex14.c
src/ts/tutorials/ex30.c
src/vec/vec/tutorials/ex9.c
src/snes/tutorials/ex42.c
src/tao/pde_constrained/tutorials/hyperbolic.c

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