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

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