petsc3.10.4 20190226
VecISCopy
Copies between a reduced vector and the appropriate elements of a fullspace vector. vfull[is[i]] = vreduced[i]
Synopsis
#include "petscvec.h"
PetscErrorCode VecISCopy(Vec vfull, IS is, ScatterMode mode, Vec vreduced)
Input Parameters
 vfull   the fullspace vector

 is   the index set for the reduced space

 mode   the direction of copying, SCATTER_FORWARD or SCATTER_REVERSE

 vreduced   the reducedspace vector

Output Parameters
vfull the sum of the fullspace vector and reducedspace vector
See Also
VecAXPY()
Level
advanced
Location
src/vec/vec/utils/projection.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages