Lines Matching refs:ismax

25 PetscErrorCode MatCreateSubMatrices_MPIDense(Mat C, PetscInt ismax, const IS isrow[], const IS isco…  in MatCreateSubMatrices_MPIDense()  argument
31 if (scall != MAT_REUSE_MATRIX) PetscCall(PetscCalloc1(ismax + 1, submat)); in MatCreateSubMatrices_MPIDense()
35 nstages = ismax / nmax + ((ismax % nmax) ? 1 : 0); in MatCreateSubMatrices_MPIDense()
41 if (pos + nmax <= ismax) max_no = nmax; in MatCreateSubMatrices_MPIDense()
42 else if (pos == ismax) max_no = 0; in MatCreateSubMatrices_MPIDense()
43 else max_no = ismax - pos; in MatCreateSubMatrices_MPIDense()
50 static PetscErrorCode MatCreateSubMatrices_MPIDense_Local(Mat C, PetscInt ismax, const IS isrow[], … in MatCreateSubMatrices_MPIDense_Local() argument
80 for (PetscInt i = 0; i < ismax; i++) { in MatCreateSubMatrices_MPIDense_Local()
87 …PetscCall(PetscMalloc5(ismax, (PetscInt ***)&irow, ismax, (PetscInt ***)&icol, ismax, &nrow, ismax in MatCreateSubMatrices_MPIDense_Local()
88 for (PetscInt i = 0; i < ismax; i++) { in MatCreateSubMatrices_MPIDense_Local()
106 for (PetscInt i = 0; i < ismax; i++) { in MatCreateSubMatrices_MPIDense_Local()
184 for (PetscInt i = 0; i < ismax; i++) { in MatCreateSubMatrices_MPIDense_Local()
275 for (PetscInt i = 0; i < ismax; i++) { in MatCreateSubMatrices_MPIDense_Local()
283 for (PetscInt i = 0; i < ismax; i++) { in MatCreateSubMatrices_MPIDense_Local()
296 for (PetscInt i = 0; i < ismax; i++) { in MatCreateSubMatrices_MPIDense_Local()
320 PetscCall(PetscMalloc1(ismax, &rmap)); in MatCreateSubMatrices_MPIDense_Local()
321 PetscCall(PetscCalloc1(ismax * C->rmap->N, &rmap[0])); in MatCreateSubMatrices_MPIDense_Local()
322 for (PetscInt i = 1; i < ismax; i++) rmap[i] = rmap[i - 1] + C->rmap->N; in MatCreateSubMatrices_MPIDense_Local()
323 for (PetscInt i = 0; i < ismax; i++) { in MatCreateSubMatrices_MPIDense_Local()
372 for (PetscMPIInt i = 0; i < ismax; i++) { in MatCreateSubMatrices_MPIDense_Local()
393 for (PetscInt i = 0; i < ismax; i++) { in MatCreateSubMatrices_MPIDense_Local()