Lines Matching refs:slot
824 …PetscInt xs, ys, nx, ny, i, j, slot, gxs, gys, gnx, gny, m, n, dim, s, *cols = NULL,… in DMCreateMatrix_DA_2d_MPISELL() local
854 slot = i - gxs + gnx * (j - gys); in DMCreateMatrix_DA_2d_MPISELL()
864 cols[cnt++] = k + nc * (slot + gnx * l + p); in DMCreateMatrix_DA_2d_MPISELL()
868 rows[k] = k + nc * (slot); in DMCreateMatrix_DA_2d_MPISELL()
892 slot = i - gxs + gnx * (j - gys); in DMCreateMatrix_DA_2d_MPISELL()
902 cols[cnt++] = k + nc * (slot + gnx * l + p); in DMCreateMatrix_DA_2d_MPISELL()
906 rows[k] = k + nc * (slot); in DMCreateMatrix_DA_2d_MPISELL()
925 PetscInt xs, ys, nx, ny, i, j, slot, gxs, gys, gnx, gny; in DMCreateMatrix_DA_3d_MPISELL() local
961 slot = i - gxs + gnx * (j - gys) + gnx * gny * (k - gzs); in DMCreateMatrix_DA_3d_MPISELL()
969 cols[cnt++] = l + nc * (slot + ii + gnx * jj + gnx * gny * kk); in DMCreateMatrix_DA_3d_MPISELL()
974 rows[l] = l + nc * (slot); in DMCreateMatrix_DA_3d_MPISELL()
1003 slot = i - gxs + gnx * (j - gys) + gnx * gny * (k - gzs); in DMCreateMatrix_DA_3d_MPISELL()
1011 cols[cnt++] = l + nc * (slot + ii + gnx * jj + gnx * gny * kk); in DMCreateMatrix_DA_3d_MPISELL()
1016 rows[l] = l + nc * (slot); in DMCreateMatrix_DA_3d_MPISELL()
1036 …PetscInt xs, ys, nx, ny, i, j, slot, gxs, gys, gnx, gny, m, n, dim, s, *cols = NULL,… in DMCreateMatrix_DA_2d_MPIAIJ() local
1073 slot = i - gxs + gnx * (j - gys); in DMCreateMatrix_DA_2d_MPIAIJ()
1083 cols[cnt++] = k + nc * (slot + gnx * l + p); in DMCreateMatrix_DA_2d_MPIAIJ()
1087 rows[k] = k + nc * (slot); in DMCreateMatrix_DA_2d_MPIAIJ()
1111 slot = i - gxs + gnx * (j - gys); in DMCreateMatrix_DA_2d_MPIAIJ()
1120 cols[cnt++] = nc * (slot + gnx * l + p); in DMCreateMatrix_DA_2d_MPIAIJ()
1128 for (k = 0; k < nc; k++) rows[k] = k + nc * (slot); in DMCreateMatrix_DA_2d_MPIAIJ()
1147 PetscInt xs, ys, nx, ny, i, j, slot, gxs, gys, gnx, gny; in DMCreateMatrix_DA_2d_MPIAIJ_Fill() local
1186 slot = i - gxs + gnx * (j - gys); in DMCreateMatrix_DA_2d_MPIAIJ_Fill()
1197 … ifill_col < ofill[k + 1]; ifill_col++) cols[cnt++] = ofill[ifill_col] + nc * (slot + gnx * l + p); in DMCreateMatrix_DA_2d_MPIAIJ_Fill()
1201 … ifill_col < dfill[k + 1]; ifill_col++) cols[cnt++] = dfill[ifill_col] + nc * (slot + gnx * l + p); in DMCreateMatrix_DA_2d_MPIAIJ_Fill()
1203 …r (ifill_col = 0; ifill_col < nc; ifill_col++) cols[cnt++] = ifill_col + nc * (slot + gnx * l + p); in DMCreateMatrix_DA_2d_MPIAIJ_Fill()
1208 row = k + nc * (slot); in DMCreateMatrix_DA_2d_MPIAIJ_Fill()
1231 slot = i - gxs + gnx * (j - gys); in DMCreateMatrix_DA_2d_MPIAIJ_Fill()
1242 … ifill_col < ofill[k + 1]; ifill_col++) cols[cnt++] = ofill[ifill_col] + nc * (slot + gnx * l + p); in DMCreateMatrix_DA_2d_MPIAIJ_Fill()
1246 … ifill_col < dfill[k + 1]; ifill_col++) cols[cnt++] = dfill[ifill_col] + nc * (slot + gnx * l + p); in DMCreateMatrix_DA_2d_MPIAIJ_Fill()
1248 …r (ifill_col = 0; ifill_col < nc; ifill_col++) cols[cnt++] = ifill_col + nc * (slot + gnx * l + p); in DMCreateMatrix_DA_2d_MPIAIJ_Fill()
1253 row = k + nc * (slot); in DMCreateMatrix_DA_2d_MPIAIJ_Fill()
1271 PetscInt xs, ys, nx, ny, i, j, slot, gxs, gys, gnx, gny; in DMCreateMatrix_DA_3d_MPIAIJ() local
1317 slot = i - gxs + gnx * (j - gys) + gnx * gny * (k - gzs); in DMCreateMatrix_DA_3d_MPIAIJ()
1325 cols[cnt++] = l + nc * (slot + ii + gnx * jj + gnx * gny * kk); in DMCreateMatrix_DA_3d_MPIAIJ()
1330 rows[l] = l + nc * (slot); in DMCreateMatrix_DA_3d_MPIAIJ()
1360 slot = i - gxs + gnx * (j - gys) + gnx * gny * (k - gzs); in DMCreateMatrix_DA_3d_MPIAIJ()
1367 cols[cnt++] = nc * (slot + ii + gnx * jj + gnx * gny * kk); in DMCreateMatrix_DA_3d_MPIAIJ()
1376 rows[0] = nc * (slot); in DMCreateMatrix_DA_3d_MPIAIJ()
1556 PetscInt xs, nx, i, i1, slot, gxs, gnx; in DMCreateMatrix_DA_1d_MPIAIJ() local
1592 slot = i - gxs; in DMCreateMatrix_DA_1d_MPIAIJ()
1596 cols[cnt++] = nc * (slot + i1); in DMCreateMatrix_DA_1d_MPIAIJ()
1602 rows[0] = nc * (slot); in DMCreateMatrix_DA_1d_MPIAIJ()
1620 PetscInt xs, nx, i, i1, slot, gxs, gnx; in DMCreateMatrix_DA_1d_SeqAIJ_NoPreallocation() local
1654 slot = i - gxs; in DMCreateMatrix_DA_1d_SeqAIJ_NoPreallocation()
1658 cols[cnt++] = nc * (slot + i1); in DMCreateMatrix_DA_1d_SeqAIJ_NoPreallocation()
1664 rows[0] = nc * (slot); in DMCreateMatrix_DA_1d_SeqAIJ_NoPreallocation()
1683 PetscInt xs, ys, nx, ny, i, j, slot, gxs, gys, gnx, gny; in DMCreateMatrix_DA_2d_MPIBAIJ() local
1716 slot = i - gxs + gnx * (j - gys); in DMCreateMatrix_DA_2d_MPIBAIJ()
1723 cols[cnt++] = slot + ii + gnx * jj; in DMCreateMatrix_DA_2d_MPIBAIJ()
1727 PetscCall(MatPreallocateSetLocalBlock(ltog, 1, &slot, ltog, cnt, cols, dnz, onz)); in DMCreateMatrix_DA_2d_MPIBAIJ()
1749 slot = i - gxs + gnx * (j - gys); in DMCreateMatrix_DA_2d_MPIBAIJ()
1754 cols[cnt++] = slot + ii + gnx * jj; in DMCreateMatrix_DA_2d_MPIBAIJ()
1758 PetscCall(MatSetValuesBlockedLocal(J, 1, &slot, cnt, cols, values, INSERT_VALUES)); in DMCreateMatrix_DA_2d_MPIBAIJ()
1775 PetscInt xs, ys, nx, ny, i, j, slot, gxs, gys, gnx, gny; in DMCreateMatrix_DA_3d_MPIBAIJ() local
1812 slot = i - gxs + gnx * (j - gys) + gnx * gny * (k - gzs); in DMCreateMatrix_DA_3d_MPIBAIJ()
1820 cols[cnt++] = slot + ii + gnx * jj + gnx * gny * kk; in DMCreateMatrix_DA_3d_MPIBAIJ()
1825 PetscCall(MatPreallocateSetLocalBlock(ltog, 1, &slot, ltog, cnt, cols, dnz, onz)); in DMCreateMatrix_DA_3d_MPIBAIJ()
1852 slot = i - gxs + gnx * (j - gys) + gnx * gny * (k - gzs); in DMCreateMatrix_DA_3d_MPIBAIJ()
1859 cols[cnt++] = slot + ii + gnx * jj + gnx * gny * kk; in DMCreateMatrix_DA_3d_MPIBAIJ()
1864 PetscCall(MatSetValuesBlockedLocal(J, 1, &slot, cnt, cols, values, INSERT_VALUES)); in DMCreateMatrix_DA_3d_MPIBAIJ()
1900 PetscInt xs, ys, nx, ny, i, j, slot, gxs, gys, gnx, gny; in DMCreateMatrix_DA_2d_MPISBAIJ() local
1933 slot = i - gxs + gnx * (j - gys); in DMCreateMatrix_DA_2d_MPISBAIJ()
1939 if (st == DMDA_STENCIL_BOX || !ii || !jj) cols[cnt++] = slot + ii + gnx * jj; in DMCreateMatrix_DA_2d_MPISBAIJ()
1942 PetscCall(L2GFilterUpperTriangular(ltog, &slot, &cnt, cols)); in DMCreateMatrix_DA_2d_MPISBAIJ()
1943 PetscCall(MatPreallocateSymmetricSetBlock(slot, cnt, cols, dnz, onz)); in DMCreateMatrix_DA_2d_MPISBAIJ()
1965 slot = i - gxs + gnx * (j - gys); in DMCreateMatrix_DA_2d_MPISBAIJ()
1971 if (st == DMDA_STENCIL_BOX || !ii || !jj) cols[cnt++] = slot + ii + gnx * jj; in DMCreateMatrix_DA_2d_MPISBAIJ()
1974 PetscCall(L2GFilterUpperTriangular(ltog, &slot, &cnt, cols)); in DMCreateMatrix_DA_2d_MPISBAIJ()
1975 PetscCall(MatSetValuesBlocked(J, 1, &slot, cnt, cols, values, INSERT_VALUES)); in DMCreateMatrix_DA_2d_MPISBAIJ()
1992 PetscInt xs, ys, nx, ny, i, j, slot, gxs, gys, gnx, gny; in DMCreateMatrix_DA_3d_MPISBAIJ() local
2030 slot = i - gxs + gnx * (j - gys) + gnx * gny * (k - gzs); in DMCreateMatrix_DA_3d_MPISBAIJ()
2037 …TENCIL_BOX || (!ii && !jj) || (!jj && !kk) || (!ii && !kk)) cols[cnt++] = slot + ii + gnx * jj + g… in DMCreateMatrix_DA_3d_MPISBAIJ()
2041 PetscCall(L2GFilterUpperTriangular(ltog, &slot, &cnt, cols)); in DMCreateMatrix_DA_3d_MPISBAIJ()
2042 PetscCall(MatPreallocateSymmetricSetBlock(slot, cnt, cols, dnz, onz)); in DMCreateMatrix_DA_3d_MPISBAIJ()
2069 slot = i - gxs + gnx * (j - gys) + gnx * gny * (k - gzs); in DMCreateMatrix_DA_3d_MPISBAIJ()
2075 …TENCIL_BOX || (!ii && !jj) || (!jj && !kk) || (!ii && !kk)) cols[cnt++] = slot + ii + gnx * jj + g… in DMCreateMatrix_DA_3d_MPISBAIJ()
2079 PetscCall(L2GFilterUpperTriangular(ltog, &slot, &cnt, cols)); in DMCreateMatrix_DA_3d_MPISBAIJ()
2080 PetscCall(MatSetValuesBlocked(J, 1, &slot, cnt, cols, values, INSERT_VALUES)); in DMCreateMatrix_DA_3d_MPISBAIJ()
2098 PetscInt xs, ys, nx, ny, i, j, slot, gxs, gys, gnx, gny; in DMCreateMatrix_DA_3d_MPIAIJ_Fill() local
2147 slot = i - gxs + gnx * (j - gys) + gnx * gny * (k - gzs); in DMCreateMatrix_DA_3d_MPIAIJ_Fill()
2156 …l_col < ofill[l + 1]; ifill_col++) cols[cnt++] = ofill[ifill_col] + nc * (slot + ii + gnx * jj + g… in DMCreateMatrix_DA_3d_MPIAIJ_Fill()
2160 …l_col < dfill[l + 1]; ifill_col++) cols[cnt++] = dfill[ifill_col] + nc * (slot + ii + gnx * jj + g… in DMCreateMatrix_DA_3d_MPIAIJ_Fill()
2162 …ill_col = 0; ifill_col < nc; ifill_col++) cols[cnt++] = ifill_col + nc * (slot + ii + gnx * jj + g… in DMCreateMatrix_DA_3d_MPIAIJ_Fill()
2168 row = l + nc * (slot); in DMCreateMatrix_DA_3d_MPIAIJ_Fill()
2198 slot = i - gxs + gnx * (j - gys) + gnx * gny * (k - gzs); in DMCreateMatrix_DA_3d_MPIAIJ_Fill()
2207 …l_col < ofill[l + 1]; ifill_col++) cols[cnt++] = ofill[ifill_col] + nc * (slot + ii + gnx * jj + g… in DMCreateMatrix_DA_3d_MPIAIJ_Fill()
2211 …l_col < dfill[l + 1]; ifill_col++) cols[cnt++] = dfill[ifill_col] + nc * (slot + ii + gnx * jj + g… in DMCreateMatrix_DA_3d_MPIAIJ_Fill()
2213 …ill_col = 0; ifill_col < nc; ifill_col++) cols[cnt++] = ifill_col + nc * (slot + ii + gnx * jj + g… in DMCreateMatrix_DA_3d_MPIAIJ_Fill()
2219 row = l + nc * (slot); in DMCreateMatrix_DA_3d_MPIAIJ_Fill()