petsc-3.15.0 2021-04-05
Report Typos and Errors

VecScatterSetType

Builds a vector scatter, for a particular vector scatter implementation.

Synopsis

#include "petscsf.h" 
PetscErrorCode VecScatterSetType(VecScatter sf, VecScatterType type)
Collective on VecScatter

Input Parameters

sf - The VecScatter (SF) object
type - The name of the vector scatter type

Options Database Key

-sf_type <type> - Sets the VecScatter (SF) type

Notes

Use VecScatterDuplicate() to form additional vectors scatter of the same type as an existing vector scatter.

See Also

VecScatterGetType(), VecScatterCreate()

Level

intermediate

Location

src/vec/is/sf/interface/vscat.c
Index of all PetscSF routines
Table of Contents for all manual pages
Index of all manual pages