2: #ifndef __PVECIMPL
5: #include <private/vecimpl.h>
6: #include <../src/vec/vec/impls/dvecimpl.h>
8: typedef struct {
9: VECHEADER
10: MPI_Request *send_waits,*recv_waits; /* for communication during VecAssembly() */
11: PetscInt nsends,nrecvs;
12: PetscScalar *svalues,*rvalues;
13: PetscInt rmax;
14:
15: PetscInt nghost; /* length of local portion including ghost padding */
16:
17: Vec localrep; /* local representation of vector */
18: VecScatter localupdate; /* scatter to update ghost values */
19: } Vec_MPI;
41: #endif