#include "petscvec.h" PetscErrorCode VecStrideGather(Vec v,PetscInt start,Vec s,InsertMode addv)Collective on Vec Many br
v | - the vector Many br | |
start | - starting point of the subvector (defined by a stride) Many br | |
addv | - one of ADD_VALUES,INSERT_VALUES,MAX_VALUES Many br |
If x is the array representing the vector x then this gathers Many brthe array (x[start],x[start+stride],x[start+2*stride], ....) Many br
The parallel layout of the vector and the subvector must be the same; Many bri.e., nlocal of v = stride*(nlocal of s) Many br
Not optimized; could be easily Many br
Many br
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