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/vec/vec/tutorials/ex9.c
src/ts/tutorials/ex30.c
src/ksp/ksp/tutorials/ex73.c
src/snes/tutorials/ex42.c
src/dm/impls/swarm/tutorials/ex1.c
src/tao/pde_constrained/tutorials/parabolic.c
src/tao/pde_constrained/tutorials/hyperbolic.c
src/tao/pde_constrained/tutorials/elliptic.c
src/dm/tutorials/ex14.c

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