xref: /petsc/src/mat/impls/sbaij/mpi/mpisbaij.h (revision e2df7a95c5ea77c899beea10ff9effd6061e7c8f)
1 
2 #if !defined(__MPISBAIJ_H)
3 #define __MPISBAIJ_H
4 #include "src/mat/impls/baij/seq/baij.h"
5 #include "src/sys/ctable.h"
6 #include "src/mat/impls/sbaij/seq/sbaij.h"
7 #include "src/mat/impls/baij/mpi/mpibaij.h"
8 
9 typedef struct {
10   MPIBAIJHEADER;
11 
12   Vec           slvec0,slvec1;            /* parallel vectors */
13   Vec           slvec0b,slvec1a,slvec1b;  /* seq vectors: local partition of slvec0 and slvec1 */
14   VecScatter    sMvctx;                   /* scatter context for vector used for reducing communication */
15 } Mat_MPISBAIJ;
16 
17 EXTERN PetscErrorCode MatLoad_MPISBAIJ(PetscViewer, MatType,Mat*);
18 #endif
19