VecScatterDestroy#

Destroys a scatter context created by VecScatterCreate()

Synopsis#

#include "petscsf.h" 
PetscErrorCode VecScatterDestroy(VecScatter *sf)

Collective

Input Parameter#

  • sf - the scatter context

See Also#

Low-level Vector Communication, VecScatter, VecScatterCreate(), VecScatterCopy()

Level#

intermediate

Location#

src/vec/is/sf/interface/vscat.c

Examples#

src/dm/tutorials/ex14.c
src/dm/tutorials/ex22.c
src/dm/tutorials/ex6.c
src/ksp/ksp/tutorials/ex43.c
src/ksp/ksp/tutorials/ex49.c
src/ksp/ksp/tutorials/ex73.c
src/tao/constrained/tutorials/ex1.c
src/tao/pde_constrained/tutorials/elliptic.c
src/tao/pde_constrained/tutorials/hyperbolic.c
src/tao/pde_constrained/tutorials/parabolic.c
src/ts/tutorials/ex29.c


Edit on GitLab

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