Home
last modified time | relevance | path

Searched refs:cmap1 (Results 1 – 2 of 2) sorted by relevance

/petsc/src/mat/tests/
H A Dex211.c87 PetscInt *cmap1; in ISGetSeqIS_SameColDist_Private() local
89 PetscCall(PetscMalloc1(Bn, &cmap1)); in ISGetSeqIS_SameColDist_Private()
96 cmap1[count] = (PetscInt)(PetscRealPart(cmaparray[i])); /* column index in submat */ in ISGetSeqIS_SameColDist_Private()
117 *garray = cmap1; in ISGetSeqIS_SameColDist_Private()
/petsc/src/mat/impls/aij/mpi/
H A Dmpiaij.c3150 PetscInt ncols, isstart, *idx, m, rstart, *cmap1, count; in ISGetSeqIS_SameColDist_Private() local
3216 PetscCall(PetscMalloc1(Bn, &cmap1)); in ISGetSeqIS_SameColDist_Private()
3223 cmap1[count] = (PetscInt)PetscRealPart(cmaparray[i]); /* column index in submat */ in ISGetSeqIS_SameColDist_Private()
3234 *garray = cmap1; in ISGetSeqIS_SameColDist_Private()
3570 PetscInt *idx, *cmap1, k; in MatCreateSubMatrix_MPIAIJ_SameRowDist() local
3572 PetscCall(PetscMalloc1(Ncols, &cmap1)); in MatCreateSubMatrix_MPIAIJ_SameRowDist()
3581 cmap1[count++] = i; /* column index in submat */ in MatCreateSubMatrix_MPIAIJ_SameRowDist()
3586 cmap1[count++] = i; /* column index in submat */ in MatCreateSubMatrix_MPIAIJ_SameRowDist()
3591 cmap1[count++] = i; /* column index in submat */ in MatCreateSubMatrix_MPIAIJ_SameRowDist()
3602 …PetscCall(ISCreateGeneral(PetscObjectComm((PetscObject)iscol_local), count, cmap1, PETSC_OWN_POINT… in MatCreateSubMatrix_MPIAIJ_SameRowDist()