Lines Matching refs:count
11 PetscInt ncols, isstart, *idx, m, rstart, count; in ISGetSeqIS_SameColDist_Private() local
86 count = 0; in ISGetSeqIS_SameColDist_Private()
95 …idx[count] = i; /* local column index in off-diagonal part… in ISGetSeqIS_SameColDist_Private()
96 cmap1[count] = (PetscInt)(PetscRealPart(cmaparray[i])); /* column index in submat */ in ISGetSeqIS_SameColDist_Private()
97 count++; in ISGetSeqIS_SameColDist_Private()
100 printf("[%d] Bn %d, count %d\n", rank, Bn, count); in ISGetSeqIS_SameColDist_Private()
103 if (count != 6) { in ISGetSeqIS_SameColDist_Private()
104 printf("[%d] count %d != 6 lvec:\n", rank, count); in ISGetSeqIS_SameColDist_Private()
107 printf("[%d] count %d != 6 lcmap:\n", rank, count); in ISGetSeqIS_SameColDist_Private()
109 SETERRQ(PETSC_COMM_SELF, PETSC_ERR_ARG_WRONGSTATE, "count %d != 6", count); in ISGetSeqIS_SameColDist_Private()
112 PetscCall(ISCreateGeneral(PETSC_COMM_SELF, count, idx, PETSC_COPY_VALUES, iscol_o)); in ISGetSeqIS_SameColDist_Private()