#include "petscvec.h" PetscErrorCode VecStrideSubSetGather(Vec v,PetscInt nidx,const PetscInt idxv[],const PetscInt idxs[],Vec s,InsertMode addv)Collective on Vec Many br
v | - the vector Many br | |
nidx | - the number of indices Many br | |
idxv | - the indices of the components 0 <= idxv[0] ...idxv[nidx-1] < bs(v), they need not be sorted Many br | |
idxs | - the indices of the components 0 <= idxs[0] ...idxs[nidx-1] < bs(s), they need not be sorted, may be null if nidx == bs(s) or is PETSC_DETERMINE Many br | |
addv | - one of ADD_VALUES,INSERT_VALUES,MAX_VALUES Many br |
The parallel layout of the vector and the subvector must be the same; 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