#include "petscvec.h" PetscErrorCode VecStrideGatherAll(Vec v,Vec s[],InsertMode addv)Collective on Vec
v | - the vector | |
addv | - one of ADD_VALUES,INSERT_VALUES,MAX_VALUES |
If x is the array representing the vector x then this gathers the arrays (x[start],x[start+stride],x[start+2*stride], ....) for start=0,1,2,...bs-1
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