#include "petscvec.h" PetscErrorCode VecStrideScatter(Vec s,PetscInt start,Vec v,InsertMode addv)Collective on Vec
s | - the single-component vector | |
start | - starting point of the subvector (defined by a stride) | |
addv | - one of ADD_VALUES,INSERT_VALUES,MAX_VALUES |
The parallel layout of the vector and the subvector must be the same; i.e., nlocal of v = stride*(nlocal of s)
Not optimized; could be easily
Level:advanced
Location:src/vec/vec/utils/vinv.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages