#include "petscvec.h" PetscErrorCode VecScatterCreateLocal(VecScatter ctx,PetscInt nsends,const PetscInt sendSizes[],const PetscInt sendProcs[],const PetscInt sendIdx[],PetscInt nrecvs,const PetscInt recvSizes[],const PetscInt recvProcs[],const PetscInt recvIdx[],PetscInt bs)Collective on VecScatter
VecScatter | - obtained with VecScatterCreateEmpty() | |
nsends | - | |
sendSizes | - | |
sendProcs | - | |
sendIdx | - indices where the sent entries are obtained from (in local, on process numbering), this is one long array of size \sum_{i=0,i<nsends} sendSizes[i] | |
nrecvs | - number of receives to expect | |
recvSizes | - | |
recvProcs | - processes who are sending to me | |
recvIdx | - indices of where received entries are to be put, (in local, on process numbering), this is one long array of size \sum_{i=0,i<nrecvs} recvSizes[i] |