#include "petscvec.h" int VecCreateGhostBlock(MPI_Comm comm,int bs,int n,int N,int nghost,const int ghosts[],Vec *vv)Collective on MPI_Comm
comm | - the MPI communicator to use | |
bs | - the block size | |
n | - local vector length | |
N | - global vector length (or PETSC_DECIDE to have calculated if n is given) | |
nghost | - number of local ghost blocks | |
ghosts | - global indices of ghost blocks |
n is the local vector size (total local size not the number of blocks) while nghost is the number of blocks in the ghost portion, i.e. the number of elements in the ghost portion is bs*nghost
Level:advanced
Location:src/vec/impls/mpi/pbvec.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages