Searched defs:_n_PetscSFPackOpt (Results 1 – 1 of 1) sorted by relevance
43 struct _n_PetscSFPackOpt { struct44 … /* [7*n+2] Memory pool for other fields in this struct. Used to easily copy this struct to GPU */45 PetscInt n; /* Number of destination ranks */46 … /* [n+1] Offsets of indices for each rank. offset[0]=0, offset[i+1]=offset[i]+dx[i]*dy[i]*dz[i] */47 PetscInt *start; /* [n] First index */48 PetscInt *dx, *dy, *dz; /* [n] Lengths of the submatrix in X, Y, Z dimension. */49 PetscInt *X, *Y; /* [n] Lengths of the outer matrix in X, Y. We do not care Z. */