VecScatterSetType#
Builds a vector scatter, for a particular vector scatter implementation.
Synopsis#
#include "petscsf.h"
PetscErrorCode VecScatterSetType(VecScatter sf, VecScatterType type)
Collective
Input Parameters#
sf - The
VecScatterobjecttype - The name of the vector scatter type
Options Database Key#
-sf_type
- Sets theVecScatterType
Note#
Use VecScatterDuplicate() to form additional vectors scatter of the same type as an existing vector scatter.
See Also#
Low-level Vector Communication, VecScatter, VecScatterType, VecScatterGetType(), VecScatterCreate()
Level#
intermediate
Location#
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages